MATLAB Answers

can I use keyboard inputs to generate plots?

5 views (last 30 days)
I have a variety of plots available (more exactly, a cell with 45 matrices in it). If I put p=14 (a value <45) and then the plotting commands, it works. Now, can I input p from keyboard? (stop the program, ask for input and based on that plot the corresponding plot)

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 19 Apr 2014
p = input('What p do you want?');

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags


Translated by