setting length of variable
Mostrar comentarios más antiguos
I have three variables of varying ranges such as
a = 1:10
b = 100:4000
c = 1:4
Is there a way to make sure no matter what the range for a,b,and c are, they have the same number of elements in each array
Respuesta aceptada
Más respuestas (1)
Kazeem Issa
el 13 de Feb. de 2019
0 votos
Yes
Use linspance(a,b,n)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!