Create a vector of all the even positive integers smaller than or equal to 100 in decreasing order and save it into variable evens.
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ishan Pai
el 24 de Mayo de 2020
Comentada: Ishan Thakur
el 1 de Ag. de 2020
Does anyone know how to solve this question?
Respuesta aceptada
Alejandro Peñuelas
el 25 de Mayo de 2020
This is the basics of Matlab. Even though,
% Create a vector from 100 to 2 decreasing by 2.
evens = 100:-2:2;
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Operators and Elementary Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!