Community Profile

photo

Kyle


Last seen: 25 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


Error using "*" in my equation, assumes I am trying to do matrix multiplication.
I have a simple plot that I am trying to create with xticks and a trig function. For some reason, when I try to plot my graph, i...

12 months ago | 1 answer | 0

1

answer

Question


When I run this function, it generates a graph with only the x-value of -2, why wont it plot the whole vector?
function g x_min = -2; x_max = 2; x = x_min:20:x_max if x < -pi g = -1; elseif x >= -pi && x <= pi g = cos(x); e...

1 year ago | 1 answer | 0

1

answer