I can't find error's reason help;;; (about plot function)

As you see red box, tensStrain & tensStress is same size of double form
so I think it could be plot but error occurs.... they say " error occurs: plot input argument is not enough"
.... what's means..... Could you teach me why error occurs? what is problem..
Thanks for reading it

 Réponse acceptée

Walter Roberson
Walter Roberson le 17 Mai 2021

1 vote

tensStrain is a cell array, but you are using () indexing with it so you are passing in a cell array to plot. You need {} to extract the numeric content.

2 commentaires

Thank you so much!!!!!!!!!!!! have a good day!!!
Heh. Three of us answered in literally less than 1 minute from each other.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by