Community Profile

photo

Salaheddin Hosseinzadeh


Glasgow Caledonian University

Last seen: 8 months ago Active since 2013

Python/MATLAB, AI, Deep learning, Signal & Image processing, Networking, Cybersecurity, Wireless communication

Programming Languages:
Python

Statistics

All
  • Personal Best Downloads Level 3
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 3 Month Streak
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
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...

6 years ago | 0

Answered
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...

7 years ago | 1

Answered
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...

7 years ago | 0

Answered
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 ...

7 years ago | 0

Answered
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...

7 years ago | 1

| accepted

Answered
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 <...

7 years ago | 0

| accepted

Answered
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?

7 years ago | 0

| accepted

Answered
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...

7 years ago | 0

| accepted

Answered
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')

7 years ago | 0

| accepted

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

| accepted

Answered
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...

7 years ago | 1

Answered
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...

7 years ago | 0

Answered
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 = ...

7 years ago | 5

| accepted

Answered
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

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

| accepted

Answered
averages of a matrix
Hi Anthony, This is very basic, please read more output = mean(A.*B) That's all

7 years ago | 1

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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 ...

7 years ago | 0

Answered
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) ...

7 years ago | 0

| accepted

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

| accepted

Answered
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...

7 years ago | 0

| accepted

Load more