MATLAB -- what does ./ mean?

  • MATLAB
  • Thread starter lcr2139
  • Start date
  • Tags
    Matlab Mean
  • #1
62
1
In MATLAB, what does ./ mean?

Also, I would like to take the derivative of an experimental plot. How do I do so?
 
  • #2
Also, how do you integrate it?
 
  • #3
Also, how do you subtract two experimental plots from each other?
 
  • #5
Its used to pair elements of a vector together to divide them.

As an example, try this:
Matlab:
x = [ 1 : 10 ]
y = [ 1 : 0.5  : 5 ]
x ./ y
It divides each element of x by an element of y

or this
Matlab:
x = [ 0  : 0.1 : 10 ]
y = x .* x
plot( x , y )
squares each element of x and plots a parabola x vs y chart
 

Suggested for: MATLAB -- what does ./ mean?

Replies
4
Views
511
Replies
4
Views
946
Replies
6
Views
751
Replies
5
Views
1K
Replies
2
Views
1K
Replies
32
Views
1K
Replies
2
Views
971
Replies
2
Views
1K
Replies
1
Views
960
Back
Top