Hello friends,
Right now, I am working on spatial filtering in Image processing..for that I
want different kind of masks having different elements...mask size should be
3x3..
I know we can take elements in matrix A by using
A=[1 2 3; 4 5 6; 7 8 9]
but I want to take these elements by user define...
like our scanf function in c langauge...so please tell me how to take such
elements...which functions use???
waiting for your valuable reply..thanks in advance..
sincerely,
Avadhut
How to take elements in matrix by user define.....
Started by ●October 5, 2009
Reply by ●October 6, 20092009-10-06
try the 'input' command
eg: A(1,1)=input('Enter value for A(1,1) = ')
hthShail..
To: m...
From: a...@yahoo.co.in
Date: Sun, 4 Oct 2009 00:53:19 +0000
Subject: [matlab] How to take elements in matrix by user define.....
Hello friends,
Right now, I am working on spatial filtering in Image processing..for that I want different kind of masks having different elements...mask size should be 3x3..
I know we can take elements in matrix A by using
A=[1 2 3; 4 5 6; 7 8 9]
but I want to take these elements by user define...
like our scanf function in c langauge...so please tell me how to take such elements...which functions use???
waiting for your valuable reply..thanks in advance..
sincerely,
Avadhut
eg: A(1,1)=input('Enter value for A(1,1) = ')
hthShail..
To: m...
From: a...@yahoo.co.in
Date: Sun, 4 Oct 2009 00:53:19 +0000
Subject: [matlab] How to take elements in matrix by user define.....
Hello friends,
Right now, I am working on spatial filtering in Image processing..for that I want different kind of masks having different elements...mask size should be 3x3..
I know we can take elements in matrix A by using
A=[1 2 3; 4 5 6; 7 8 9]
but I want to take these elements by user define...
like our scanf function in c langauge...so please tell me how to take such elements...which functions use???
waiting for your valuable reply..thanks in advance..
sincerely,
Avadhut