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: 3494
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 multiplpot figure
Digital Signal Processing :: 05.04.2010 11:12 :: hitman1988 :: Replies: 3 :: Views: 1418
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: 1178
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: 1325
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: 5199
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: 2278
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: 9464
>> 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: 34560
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: 1830
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: 482
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: 474
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: 971
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: 577
You can zoom in on a particular region of your plot by using the magnifier icons at the top of the figure window generated by the subplot() function. If you select "zoom in" and then left-click in the plot area, a menu appears. Under "zoom options", you can choose to constrain the "zoom" to only the horizontal or vertical axis. I frequently use
Digital Signal Processing :: 26.09.2012 18:37 :: thylacine1975 :: Replies: 4 :: Views: 279