Hướng dẫn dùng matlab arccos python
Inverse cosine in radians Show
SyntaxDescriptionexample
Examplescollapse all Inverse Cosine of ValueFind the inverse cosine of a value. Inverse Cosine of Vector of Complex ValuesFind the inverse cosine of the elements of vector x = [0.5i 1+3i -2.2+i]; y = acos(x) y = 1×3 complex
1.5708 - 0.4812i 1.2632 - 1.8642i 2.6799 - 1.5480i
Plot Inverse Cosine FunctionPlot the inverse cosine function over the intervals -1≤x≤1. x = -1:.01:1;
plot(x,acos(x))
grid on Input Argumentscollapse all X — Cosine of angle scalar | vector | matrix | multidimensional arrayCosine of angle, specified as a scalar, vector, matrix,
or multidimensional array. The Data Types: More Aboutcollapse all Inverse CosineThe inverse cosine is defined as Extended CapabilitiesTall Arrays Calculate with arrays that have more rows than fit in memory.This function fully supports tall arrays. For more information, see Tall Arrays. C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.Usage notes and limitations:
GPU Code Generation Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.Usage notes and limitations:
Thread-Based Environment Run code in the background using MATLAB® backgroundPool or accelerate code with Parallel Computing Toolbox™ ThreadPool.This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment. GPU Arrays Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.Usage notes and limitations:
For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox). Distributed Arrays Partition large arrays across the combined memory of your cluster using Parallel Computing Toolbox™.This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox). Version HistoryIntroduced in R2006a |