필터 지우기
필터 지우기

Define a column-vector that contains the number from 10

조회 수: 1 (최근 30일)
ahmad alhjouj
ahmad alhjouj 2018년 4월 28일
편집: Pavel 2018년 4월 28일
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
Rik
Rik 2018년 4월 28일
Why don't you do your own homework? You can find guidelines for posting homework on this forum here.

댓글을 달려면 로그인하십시오.

답변 (1개)

Pavel
Pavel 2018년 4월 28일
편집: Pavel 2018년 4월 28일
% (a)
zeros(250,1)
% (b)
ones(250,1)
% (c)
ones(250,1)*2
% (d)
[ones(100,1); zeros(150,1)]

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by