3 commentaires

KSSV
KSSV le 5 Mai 2021
To plot the dimensions of (x,y) i.e. tydwave and ydwave should be same. In your case they are not same, so error.
Christopher Ramos
Christopher Ramos le 5 Mai 2021
Yes I see that, but is there a way I can Fix this? It is supposed to work.
KSSV
KSSV le 5 Mai 2021
Get them to same dimensions.

Connectez-vous pour commenter.

Réponses (1)

Aditya Patil
Aditya Patil le 12 Mai 2021

0 votes

The plot function requires both arguments to be of same size.
While the solution depends on the nature of the data, the most likely cause is missing data in one of the variables, or erroneous data in one of them. Remove such data which doesn't have corresponding value in the other variable.

Community Treasure Hunt

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

Start Hunting!

Translated by