Community Profile

photo

Emma


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
Why doesn't plot show desired values from my array?
Sorry, I figured it out. plot(5:10, aVals(5:10)

11 years ago | 0

Question


Why doesn't plot show desired values from my array?
Row array aVals(1 : 10) contains pi for each value. plot(aVals(1:10) gives the expected result: <<http://www.isystan...

11 years ago | 1 answer | 0

1

answer

Question


How to structure array to serve as input parameter for function and then display in sprintf?
This question builds on my last one. Consider that I use arrays of X and Y values for two points in order to find the slopes of ...

11 years ago | 1 answer | 0

1

answer

Question


Can't get function to accept array params or return arrays
Consider this function to calculate the slope of a line: function [m] = f_GetSlope(x1, y1, x2, y2) m = (y1 - y2)/(x1 - x...

11 years ago | 1 answer | 0

1

answer