my code has two problems. first ,y2 is15x1and y12 is 1x450 while the kafa gives me the result of 1x3812.how it is possible ot give this result.the second problem is it give error while plotting the (pt,kafa).vectors must be the same length
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
this is my code
2 commentaires
M
le 16 Jan 2018
Modifié(e) : M
le 16 Jan 2018
Of course it gives this error, because the vector pt is 1x450 and has not the same length as kafa.
I guess it is the way you compute kafa that is wrong, could you precise what results you expect for :
kafa=1:y2./1:y12
PS : you should post your code using the appropriate {}code section in your question.
Greg
le 16 Jan 2018
I've never tried vectors in the context of
kafa = 1:[1,2]:[8,9];
I can't imagine it does anything close to useful. My guess would be it chooses the first element of reach and ignores the rest.
Réponses (0)
Voir également
Catégories
En savoir plus sur Transmitters and Receivers dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!