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);
You can use any weighing factor with that.
Digital Signal Processing :: 01.01.2007 11:13 :: Robinenemy :: Replies: 1 :: Views: 3321
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:
that for example how to use multi
Digital Signal Processing :: 05.04.2010 17:12 :: Aya2002 :: Replies: 3 :: Views: 1227
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: 1029
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: 1179
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: 4667
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: 1819
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
PC Programming and Interfacing :: 03.09.2007 05:57 :: echo47 :: Replies: 3 :: Views: 8468
>> N= 200;
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: 31167
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: 1536
hi, Try the following code
//To create the 2D domain:
//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
title('Using the mesh command');
Mathematics and Physics :: 16.01.2006 06:35 :: elmolla :: Replies: 1 :: Views: 427
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!)
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: 398
This works fine for me in Windows. It captures stereo and displays left and right waveforms:
y = wavrecord(5000, 22050, 2);
Be sure your operating system's audio mixer is set properly.
Digital Signal Processing :: 30.08.2007 02:42 :: echo47 :: Replies: 5 :: Views: 876
can i ask something...
how ca i change this command to display the magnitude spectrum??
this command has show low pass filter..
handle=errordlg('wp must be less than ws for lowpass filter','guifilter_design');
Digital Signal Processing :: 13.10.2009 20:17 :: awanis :: Replies: 0 :: Views: 500
I have the the following:
N = 15000;
fs = 250;
t = linspace(0, 60, N);
%signal = ecg data = ecg
title ('Time-Domain ECG')
xlabel ('Time (s)')
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: 206