필터 지우기
필터 지우기

matrix manipulations of columns

조회 수: 1 (최근 30일)
Charlene
Charlene 2013년 5월 8일
Hi guys,
does any one knows how to generate a matrixD that adds a new column of zeros to matrix A.This cloumn must be placed between the 4th and 5th column of matrix A
pls note that matrix A is A=random('norm',3,0.2,100,100)

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 8일
A(:,5)=zeros(size(A,1),1)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by