Filter löschen
Filter löschen

Print the value number shown in the workspace ?

2 Ansichten (letzte 30 Tage)
Susan Arnold
Susan Arnold am 25 Feb. 2016
Kommentiert: Susan Arnold am 25 Feb. 2016
How can I print the value number shown in the workspace of Matlab as shown in the attached picture (more specifically the number in the red box) by using the command fprint ?

Akzeptierte Antwort

Stephen23
Stephen23 am 25 Feb. 2016
Bearbeitet: Stephen23 am 25 Feb. 2016
Just use size:
size(PHI,1)
MATLAB does not have any command fprint, perhaps you meant fprintf:
fprintf('%d\n',size(PHI,1))
  1 Kommentar
Susan Arnold
Susan Arnold am 25 Feb. 2016
You are right Stephen! It works ! Thank you very much :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by