Search Engine **www.edaboard.com**

14 Threads found on edaboard.com: **Subplot Command In Matlab**

There is a direct **command** in **matlab** for images subtraction i.e.
I = imread('rice.tif');
Iq = imsubtract(I,50);
**subplot**(1,2,1), imshow(I)
**subplot**(1,2,2), imshow(Iq)
You can use any weighing factor with that.
Regards
Robin

Digital Signal Processing :: 01.01.2007 11:13 :: Robinenemy :: Replies: **1** :: Views: **3481**

hi
first you need to define n , as a matrix
n= 1 : 1 :128 ;
and then write down the equations
and then if you want to plot the two signals in the same graph you use:
graph
**subplot**(3,1,1); plot(x1)
title('...............');
**subplot**(3,1,2); plot(x2)
title('.......................');
that for example how to use multi

Digital Signal Processing :: 05.04.2010 17:12 :: Aya2002 :: Replies: **3** :: Views: **1406**

you can use **subplot**(N,1,n), plot(...), xlabel(' '), ylabel(' '), title(' ') for each

Electronic Elementary Questions :: 05.02.2008 21:58 :: brmadhukar :: Replies: **7** :: Views: **1160**

You can also use **subplot** if you want to plot in different windows but shown at the same time.

Software Problems, Hints and Reviews :: 02.05.2007 07:15 :: agent_009 :: Replies: **2** :: Views: **1311**

Try this -- copy and paste it into your **matlab** **command** Window.
The middle section does the ifft. The other sections simply create some input data, and plot the results. You may want to modify the tweaks at DC and Nyquist, depending on how your measurement hardware behaves at those points.
% Generate input data: square wave built from th

Digital Signal Processing :: 26.06.2007 00:36 :: echo47 :: Replies: **1** :: Views: **5137**

I'm not sure I understand what you mean by "look at just one period", but maybe this example will help you. It generates a frequency sweep, and then tabulates the waveform's positive-slope zero-crossing points. You can copy-and-paste the code directly into your **matlab** **command** Window.
% Frequency sweep
F0 = 10; % start frequency, Hert

Digital Signal Processing :: 27.06.2007 08:14 :: echo47 :: Replies: **3** :: Views: **2227**

Maybe this small example will help you. It generates a sinewave frequency sweep, and then plots and tabulates the waveform's positive-slope zero-crossing points.
% Frequency sweep
F0 = 10; % start frequency, Hertz
F1 = 100; % stop frequency, Hertz
T = 0.5; % duration, seconds
FS = 1000; % sample rate, Hertz
N =

PC Programming and Interfacing :: 03.09.2007 05:57 :: echo47 :: Replies: **3** :: Views: **9369**

>> N= 200;
T=0.05;
t=(0:N-1)*T;
s=sin(2*pi*120*t);
**subplot**(3,1,1),plot(t,s);
fft_s=fft(s);
**subplot**(3,1,2),plot(t,real(fft_s));
**subplot**(3,1,3),plot(t,imag(fft_s));
so , how to add noise to this coading ???????? pls send me reply. thanks
What type of noise do you want, if you want white noise, use the awgn comman

Digital communication :: 15.04.2009 00:22 :: Communications_Engineer :: Replies: **2** :: Views: **34292**

What did u mean by align? If i understood correctly , you can use **subplot** **command** it works for imshow too.

Digital Signal Processing :: 20.08.2011 11:18 :: alperuslu :: Replies: **2** :: Views: **1799**

hi, Try the following code
//To create the 2D domain:
X=-5:0.1:5;
Y=-5:0.1:5;
=meshgrid(x,y);
//The coordinates are ready, type the function
z=x.^2+y.^2;//Or Any function of X
// To plot it, See all the types and choose what suits you
figure;
**subplot**(2,1,1)
mesh(x,y,z);
title('Using the mesh **command**');
**subplot**(2,1,2);

Mathematics and Physics :: 16.01.2006 06:35 :: elmolla :: Replies: **1** :: Views: **470**

Hi, I have an homework for this tuesday and I have to do that in 2 days.:cry:
Here is the question: (People who know **matlab** and can understand what the question says..help me please!)
Question:
Consider the function f(x)= sin(pi*x/2). Expand f(x) in a Taylor series about the point x0=0 and do the following?
a) Estimate the number of terms

Microcontrollers :: 21.05.2006 09:37 :: pelinbasaks :: Replies: **1** :: Views: **463**

This works fine for me in Windows. It captures stereo and displays left and right waveforms:
y = wavrecord(5000, 22050, 2);
**subplot**(2,1,1); plot(y(:,1));
**subplot**(2,1,2); plot(y(:,2));
Be sure your operating system's audio mixer is set properly.

Digital Signal Processing :: 30.08.2007 02:42 :: echo47 :: Replies: **5** :: Views: **953**

hello everybody...
can i ask something...
how ca i change this **command** to display the magnitude spectrum??
this **command** has show low pass filter..
case 1
if(wp>ws)
handle=errordlg('wp must be less than ws for lowpass filter','guifilter_design');
return;
end
=buttord(wp,ws,rp,rs,

Digital Signal Processing :: 13.10.2009 20:17 :: awanis :: Replies: **0** :: Views: **567**

I have the the following:
N = 15000;
fs = 250;
t = linspace(0, 60, N);
%signal = ecg data = ecg
**subplot** (2,1,1);
plot (t,ecg);
title ('Time-Domain ECG')
xlabel ('Time (s)')
ylabel ('Magnitude')
Now my question is, how do I display a certain area of the data say between 40 and 50? I'm new to signals and very much inexperienced in the

Digital Signal Processing :: 26.09.2012 00:06 :: ThomasUIC :: Replies: **4** :: Views: **264**

Previous
1
Next

Last searching phrases:

pic16f877 pwm | mod file | chip estimation | simcom sim300 | verilog uart | differential sample and hold | uart reset problem | interfacing 89c51 lcd | transmission line simulation | cst studio example

pic16f877 pwm | mod file | chip estimation | simcom sim300 | verilog uart | differential sample and hold | uart reset problem | interfacing 89c51 lcd | transmission line simulation | cst studio example