Effacer les filtres
Effacer les filtres

Print the value number shown in the workspace ?

2 vues (au cours des 30 derniers jours)
Susan Arnold
Susan Arnold le 25 Fév 2016
Commenté : Susan Arnold le 25 Fév 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 ?

Réponse acceptée

Stephen23
Stephen23 le 25 Fév 2016
Modifié(e) : Stephen23 le 25 Fév 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 commentaire
Susan Arnold
Susan Arnold le 25 Fév 2016
You are right Stephen! It works ! Thank you very much :)

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by