Salaheddin Hosseinzadeh
Followers: 0 Following: 0
Python/MATLAB, AI, Deep learning, Signal & Image processing, Networking, Cybersecurity, Wireless communication
Python
Feeds
How to get image in RGB
Hi I Can't find _*gray2rgb*_ function in MATLAB documentation! What does that do exactly? Have a look at this link, it may h...
거의 8년 전 | 0
How to plot frequency spectrum of a signal in matlab?
Hi there! I don't know why your instructor didn't like it! Maybe it's missing a division and he is picky on that! fftNo...
대략 9년 전 | 1
How to plot 2 histograms on the same axis?
Hi, Create a figure before using hist, create an axes in the figure and get its handle. Use hold command to allow multiple gr...
9년 초과 전 | 0
How to design a high pass filter and test the filter by a signal
Hi, Type fdatool in the MATLAB command window. It opens the Filter Designa and Analysis window, where you can design your ...
9년 초과 전 | 0
error while evaluating uimenu callback( in fuzzy toolbox)
Sounds like a terrible situation. You can't even open it to edit things. Is it possible to make a definition/coding violation in...
9년 초과 전 | 1
| 수락됨
How change somme values on a matrix?
Hi Biza, It sounds like you want to do thresholding. A = A>20; % this makes A a logical matrix of 0 and 1, 1 is when A <...
9년 초과 전 | 0
| 수락됨
I think my answer is not correct for this question, anyone can help me to check it? Thanks
Hi, It matches with your flowchart, Why do you thing it is not correct?
9년 초과 전 | 0
| 수락됨
Hi, I would like to ask if my answer is correct or not, here is the question.
Hi, Looks alright. You can use xlim, ylim to limit the view and see the zero crossing location better, however assuming th...
9년 초과 전 | 0
| 수락됨
I have some problem when plotting the graph, anyone can help? Thanks
Hi, You need to store y first. x = -10:10; for i = 1:numel(x) y(i) = 2^(0.4*x(i))+5 end plot(x,y,'g')
9년 초과 전 | 0
| 수락됨
Cross-correlation for signal matches
Dear Steven, Here is a example code i used to find the phase-shift between two different signals. I used cross-correlation to...
9년 초과 전 | 0
How can I fix an Out of Memory error?
Hello Hadi, Mainly you're running out of RAM memory. You may have to modify your code to be able to run it. There are diff...
9년 초과 전 | 0
| 수락됨
How to have a GUI perform an action only when a pushbutton is pressed?
Hi Sicilian, I was searching how to do the same thing a few months ago. You want the motor to be on while you're holding t...
9년 초과 전 | 2
Matlab - FFT of Gaussian - Equivalency
I'm not sure what you're intending to do. Do you know about fftshift() command? To me it sounds like you're having problem...
9년 초과 전 | 0
how can I add zeros elements to a matrix?
Hi Moein, there are different ways to do this. One of which is to define a fully zero matrix with all zeros newMatrix = ...
9년 초과 전 | 6
| 수락됨
how to find variance of audio signal?
Hi, You can read the wav file with wavread() command and find the variance with var() command. Hope that's enough
9년 초과 전 | 0
using subplot(m,n,p,ax) in a loop
Just put figure outside the loop. If you want to change each axis or maybe axes properties, use xlim ylim in your for loop y...
9년 초과 전 | 0
drawing a triangular wave
Hi Soloby, You just asked a question on fuzzy logic, I assume this is in the same area! Have you tried trimf or trapmf mem...
9년 초과 전 | 0
| 수락됨
Fuzzy Operation (Add, subtract, multiply, and divide) without using the built-in matlab function?
Hi Soloby, What's y all of a sudden?!
9년 초과 전 | 0
averages of a matrix
Hi Anthony, This is very basic, please read more output = mean(A.*B) That's all
9년 초과 전 | 1
How to write a 'text' at the end of another one
Hi Alessandro, You have to use text, see matlab help for text please text(Xposition,Yposition,'Your String!'); To plo...
9년 초과 전 | 0
Hi. i want to plot some thing like this picture how can i do this ?
You may have to do this with two plot commands, one to create a red line one to create a gigantic square, which you can do...
9년 초과 전 | 0
FFT of a selected range of points
Dear Aqua, Please be aware. You probably going to need a window! If you only take the fft of a section without properly sepa...
9년 초과 전 | 0
what does blue colour in frequency representation of audio signal indicates?
You are plotting a stereo signal with 2 channels. One channel is in green and one is in blue. Plot them in separate figure...
9년 초과 전 | 0
How to fit a mixture of uniform and gaussian distributions
Hi Maria, What is a uniform distribution? something like a DC offset? Is it like a constant added to the Gaussian? See if ...
9년 초과 전 | 0
Find if a point lies bellow or above a curve
Hi TY Yes, you can easily do this. I actually done it before, I had series of points and I draw a line with mouse (2 points) ...
9년 초과 전 | 0
| 수락됨
error when trying to fit a custom function using cftool
Hi Guys, Well done for providing the equations. It worked fine for me, I attached an image <</matlabcentral/answe...
9년 초과 전 | 0
Read a binary file of format float
Hi Alon, As a C# programmer you know that "it fails" is not enough! <http://uk.mathworks.com/help/matlab/ref/fopen.html ha...
9년 초과 전 | 0
How to Write Table to Excel with headers
Hi Samantha, I usually use xlswrite() which then I add the headers as soon as I generate the file. You can give it a try i...
9년 초과 전 | 0
filtering Recorded Lung Noise
Hi, Have you tried filtering your data, very simply with a low pass filter? I've attached a recursive single pole low pass...
9년 초과 전 | 0
| 수락됨
If I want to show the path of a heat source as it moves, is it possible to mark the path with numbers?
Hi Chris, You can use text() command. It puts a text in the current position, you can set the string as a number with num2...
9년 초과 전 | 0
| 수락됨