what is the function of X and Y equation?How to describe that function?

2 views (last 30 days)
1) Y=linspace(dy,dy*yNum*1000000,yNum);
2) X=linspace(dx,dx*xNum*1000000,xNum);
3) X=rot90(X,3);

Answers (1)

Ameer Hamza
Ameer Hamza on 25 May 2018
linspace() create linearly spaced numeric array. In this case, the first element will start with dy and the last element is dy*yNum*1000000. And in between these two values, you will get yNum values. For example
firstElement = 0;
lastElement = 1;
num = 10;
X = linspace(firstElement, lastElement, num)
X =
0 0.1111 0.2222 0.3333 0.4444 0.5556 0.6667 0.7778 0.8889 1.0000

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!