Borrar filtros
Borrar filtros

Define a column-vector that contains the number from 10

1 visualización (últimos 30 días)
ahmad alhjouj
ahmad alhjouj el 28 de Abr. de 2018
Editada: Pavel el 28 de Abr. de 2018
2- Create a vector of size 1×250 of the following: <p>(a)- Vector of zeros. (b)- Vector of ones. (c)- Vector of Twos. (d)- Vector of 100 elements of ones and 150 elements of zeros.
%
% 3- Find the results of the following mathematical functions:
(a)-
  1 comentario
Rik
Rik el 28 de Abr. de 2018
Why don't you do your own homework? You can find guidelines for posting homework on this forum here.

Iniciar sesión para comentar.

Respuestas (1)

Pavel
Pavel el 28 de Abr. de 2018
Editada: Pavel el 28 de Abr. de 2018
% (a)
zeros(250,1)
% (b)
ones(250,1)
% (c)
ones(250,1)*2
% (d)
[ones(100,1); zeros(150,1)]

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by