Guidata in GUI
Hello, I've built a GUI using GUIDE and it includes a popup menu and a pushbutton. There are 2 choices to select from the popup menu. If the user selected the second choice (i.e. if handles.popupmenu==2;) a certain code must be implemented and then I used Guidata(hObject, handles) to store the data necessary for oth... 12 Jan 2010 16:18
How to prove Parseval Theorem?
I typed the following codes, but why were the results i got not equal? t=[1:100]; x=sin(t); x_fft=fft(x); x_sum=sum(x.^2) x_sum = 50.2684 x_fft_sum=sum(abs(x_fft).^2) x_fft_sum = 5.0268e+003 ... 13 Jan 2010 07:36
need help with Savitzky-Golay filter
I am trying to learn how to use the sgolayfilt function in MATLAB, and I do not understand the "window length" parameter. Can somebody offer some general guidelines for choosing the proper window length? Should it be close to the length of the vector I am trying to filter? Does it depend if the length of the vector I... 12 Jan 2010 15:11
superellipsoid
Hi all!! i m working on parametric equations of superellipsoid.my problem is that i cannot create the 3D graph which is expected to be geneterated by this program. i have used built in functions like 'surf''surfl''plot3' to no use.kindly guide me what to do to create the required 3D graph. n1=1; n2=1; rx=10;ry=2... 12 Jan 2010 14:03
using ind2rgb
im sorry if this is a noob question but i cant seem to get around it.. im using imread() to read a boolean png file where certain parts of it are black..and my intention is to convert the black parts into another color.. for this i tried using ind2rgb(imread('name.png','png'),[1 0 0]); when i do that instea... 12 Jan 2010 21:52
Access to bertool through an m file
Hi, I am quiet new to Matlab and simulink, and im working on simulink file and i need to use the bertool GUI (Monte Carlo) for that. but now i want to access the bertool by running an m file which im gonna write, so i was wondering if anybody can tell me how to set the parameters and fields in an m file for the bertoo... 12 Jan 2010 12:56
Data Tip Precision
There have been some requests on how to modify the Data Tip precision when you need more decimal places while inspecting plots. The best option to make the default precision change permanently is to modify the 'default_getDatatipText.m' file. On line 31 change the DEFAULT_DIGITS = 4; to whatever precision you want... 12 Jan 2010 12:56
BERTOOL access by its fied
Hi, I have been trying to calculated the BER of a simulink file with bertool (Monte Carlo), but this method seems to be too time consuming and needs 24hr attention, do you have any idea on how to access the bertool fields and modify them and run the application through an .m file? Regards ... 12 Jan 2010 12:56
MSK (or OQPSK) delay problem
Hi all! Basically my project is a bit generator+spreader+modulator --> demodulator+despreader. A 4 bit sequence is converted to a 32 chip sequence by the spreader. If I use a QPSK and without AWGN channel, I get 0 BER before and after the despreader. However when I use the MSK (or OQPSK) and I add the delay... 12 Jan 2010 12:56
How to get velocity through spectogram
Hello all, I am running into a small problem here with Matlab. I have a radar waveform that contains doppler content, and I am trying to plot it in a spectogram. I am able to plot it on to a spectogram using the >spectogram command, but what I really wanted to do is to change the doppler frequency of the spectogram i... 12 Jan 2010 12:56