Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ask] matrix in matlab

Status
Not open for further replies.

Richardo Saputra

Newbie level 3
Newbie level 3
Joined
Apr 8, 2015
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
How to make matriks (200,400) like below :
df.JPG

please help
 

one "pedestrian" way would be:

lower = zeros(400,1)
upper = zeros(400,1)
lower(1) = 0.71
upper(1:2) = 0.71
matrix = toeplitz(lower,upper)

- - - Updated - - -

ah, didn't notice you wanted it 200x400.
Then do: matrix = matrix(1:2:400,:)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top