Salaheddin Hosseinzadeh
Glasgow Caledonian University
Followers: 0 Following: 0
Python/MATLAB, AI, Deep learning, Signal & Image processing, Networking, Cybersecurity, Wireless communication
Python
Statistics
RANK
267
of 290 054
REPUTATION
332
CONTRIBUTIONS
5 Questions
149 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
43
RANK
1 319 of 19 630
REPUTATION
1 403
AVERAGE RATING
4.70
CONTRIBUTIONS
16 Files
DOWNLOADS
71
ALL TIME DOWNLOADS
11667
RANK
of 144 439
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
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...
mer än 7 år ago | 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...
mer än 8 år ago | 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...
nästan 9 år ago | 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 ...
nästan 9 år ago | 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...
nästan 9 år ago | 1
| accepted
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 <...
nästan 9 år ago | 0
| accepted
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?
nästan 9 år ago | 0
| accepted
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...
nästan 9 år ago | 0
| accepted
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')
nästan 9 år ago | 0
| accepted
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...
nästan 9 år ago | 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...
nästan 9 år ago | 0
| accepted
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...
nästan 9 år ago | 1
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...
nästan 9 år ago | 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 = ...
nästan 9 år ago | 6
| accepted
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
nästan 9 år ago | 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...
nästan 9 år ago | 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...
nästan 9 år ago | 0
| accepted
Fuzzy Operation (Add, subtract, multiply, and divide) without using the built-in matlab function?
Hi Soloby, What's y all of a sudden?!
nästan 9 år ago | 0
averages of a matrix
Hi Anthony, This is very basic, please read more output = mean(A.*B) That's all
nästan 9 år ago | 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...
nästan 9 år ago | 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...
nästan 9 år ago | 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...
nästan 9 år ago | 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...
nästan 9 år ago | 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 ...
nästan 9 år ago | 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) ...
nästan 9 år ago | 0
| accepted
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...
nästan 9 år ago | 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...
nästan 9 år ago | 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...
nästan 9 år ago | 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...
nästan 9 år ago | 0
| accepted
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...
nästan 9 år ago | 0
| accepted