photo

Larry


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to write a function that returns a graph?
If I write a function like function A = myplot(x,y) A = plot(x,y); set(A,etc....) end When I call this function, a ...

nästan 11 år ago | 3 answers | 0

3

answers

Question


How to use a function output in another function?
I have written a function in the script, say function A = matrixy() A = zeros(3); end When calling it in the command ...

nästan 11 år ago | 1 answer | 0

1

answer

Question


How to start again from the previous step?
I want to do something like: x = input('value of x:'); y = input('value of y:'); if (x>=y) ... else ...

nästan 11 år ago | 1 answer | 0

1

answer