Answered

hi , I have an excel sheet of accelerometer data and want to use a high pass filter to filter the lower frequencies.

Hi Shilpa, I guess the easiest way is to type this fdatool in MATLAB command window, this opens the Filter Design and...

hi , I have an excel sheet of accelerometer data and want to use a high pass filter to filter the lower frequencies.

Hi Shilpa, I guess the easiest way is to type this fdatool in MATLAB command window, this opens the Filter Design and...

nästan 9 år ago | 0

| accepted

Answered

How to find max in a matrix (1,N,2)&& matrix (1,N,3)?

Hi Tabw, You can add those numbers and then use "max" to find their value and their index. m = matrix (1,1:10,2) + matri...

How to find max in a matrix (1,N,2)&& matrix (1,N,3)?

Hi Tabw, You can add those numbers and then use "max" to find their value and their index. m = matrix (1,1:10,2) + matri...

nästan 9 år ago | 0

| accepted

Answered

how we can represent an image in graph in matlab?

Hi Christina, Do you know that you can simply view the image in MATLAB by using imshow('c:\mypicture.jpg') If proces...

how we can represent an image in graph in matlab?

Hi Christina, Do you know that you can simply view the image in MATLAB by using imshow('c:\mypicture.jpg') If proces...

nästan 9 år ago | 0

Answered

find the dependence ratio

Dear Son, You can make a function if you have a series of measurements. You can compare results with a base signal, and th...

find the dependence ratio

Dear Son, You can make a function if you have a series of measurements. You can compare results with a base signal, and th...

nästan 9 år ago | 0

| accepted

Answered

find the dependence ratio

Hi Son, I guess you want to compare between your signals to see how close the are! At least that what I understood from your ...

find the dependence ratio

Hi Son, I guess you want to compare between your signals to see how close the are! At least that what I understood from your ...

nästan 9 år ago | 0

Answered

How to get Magnitude Spectrum of a Cosine Wave

Hi Upsesh, This can be solved by properly using fft (Fast Fourier Transform) I wrote a fftplot function wich plots the mag...

How to get Magnitude Spectrum of a Cosine Wave

Hi Upsesh, This can be solved by properly using fft (Fast Fourier Transform) I wrote a fftplot function wich plots the mag...

nästan 9 år ago | 0

| accepted

Answered

How to integrate using Matlab 2012a?

Hello Micheal, First see if you can simply use sum instead of intergral. If not then chech the link below plz. <http://www...

How to integrate using Matlab 2012a?

Hello Micheal, First see if you can simply use sum instead of intergral. If not then chech the link below plz. <http://www...

nästan 9 år ago | 1

| accepted

Answered

object oder in the GUI / Tab

Hi Max, It's so simple if you've used GUIDE to create the GUI. There is a specific menu that helps you do this by some cli...

object oder in the GUI / Tab

Hi Max, It's so simple if you've used GUIDE to create the GUI. There is a specific menu that helps you do this by some cli...

nästan 9 år ago | 0

| accepted

Answered

Inverse cmd giving errors

Hi Segun, So what you want to do is, finding the inverse matrix! Alright. define your matrix as such x =[2,3,5;4,1,6...

Inverse cmd giving errors

Hi Segun, So what you want to do is, finding the inverse matrix! Alright. define your matrix as such x =[2,3,5;4,1,6...

nästan 9 år ago | 1

Answered

Challenging Question - Finding mean of specific values of matrix and re-entering

Hey Karan, Sound very easy and typical! It's nothing but programming and defining some conditions. you need 2 for loops f...

Challenging Question - Finding mean of specific values of matrix and re-entering

Hey Karan, Sound very easy and typical! It's nothing but programming and defining some conditions. you need 2 for loops f...

nästan 9 år ago | 0

Answered

self clearing edit box

Hi Max, How about using MATLAB's default input dialog (inputdlg)? Even if you make your own, it's absolutely gonna work th...

self clearing edit box

Hi Max, How about using MATLAB's default input dialog (inputdlg)? Even if you make your own, it's absolutely gonna work th...

nästan 9 år ago | 0

| accepted

Answered

How do I define a color?

Oh yeah, It's crystal clear now! So, for instance the color you want to pick is black and you just want to define it. I to...

How do I define a color?

Oh yeah, It's crystal clear now! So, for instance the color you want to pick is black and you just want to define it. I to...

nästan 9 år ago | 0

| accepted

Answered

How to compair between two lines in binary images?

Meshooo How about to find the mean value of the curve, specially that it's a line, and consider it as a fitted curve, just a...

How to compair between two lines in binary images?

Meshooo How about to find the mean value of the curve, specially that it's a line, and consider it as a fitted curve, just a...

nästan 9 år ago | 0

Answered

How to compair between two lines in binary images?

You may also want to try diff Just like before, get the line out your picture by finding its white spots. Get diff of its ...

How to compair between two lines in binary images?

You may also want to try diff Just like before, get the line out your picture by finding its white spots. Get diff of its ...

nästan 9 år ago | 0

Answered

How to compair between two lines in binary images?

Hi Meshoo, I guess you can do it in different ways. What I think of, is Fourier analysis. Forget about the x axis, I wo...

How to compair between two lines in binary images?

Hi Meshoo, I guess you can do it in different ways. What I think of, is Fourier analysis. Forget about the x axis, I wo...

nästan 9 år ago | 0

Answered

how ot stop Matlab figure from maximizing?

Hi Adnan, It's simple just create your figure as follow h = figure('Resize','off') or if the figure is generated use...

how ot stop Matlab figure from maximizing?

Hi Adnan, It's simple just create your figure as follow h = figure('Resize','off') or if the figure is generated use...

nästan 9 år ago | 0

| accepted

Answered

How to do this?

Hi Sneha, You didn't as a specific question so I can't answer specifically. Apparently you have the measurement and you kn...

How to do this?

Hi Sneha, You didn't as a specific question so I can't answer specifically. Apparently you have the measurement and you kn...

nästan 9 år ago | 0

Answered

gca function in matlab

Hi Civs, To my knowledge whenever an object is created (figure, window, axes, function,...) a handle is associates to the obj...

gca function in matlab

Hi Civs, To my knowledge whenever an object is created (figure, window, axes, function,...) a handle is associates to the obj...

nästan 9 år ago | 2

Answered

unexpected behavior with symbolic substitution, 0 in vector

Hi Tonkma, I think you got what you wrote :) You defined ka as a column not row (vector), since you used ";" instead of ",...

unexpected behavior with symbolic substitution, 0 in vector

Hi Tonkma, I think you got what you wrote :) You defined ka as a column not row (vector), since you used ";" instead of ",...

nästan 9 år ago | 0

Answered

how can use fmmod function for make a LFM signal

Hi Mehdi, It's always a pleasure for me to get involve telecom problems, besides, it's a good review and still a struggle for...

how can use fmmod function for make a LFM signal

Hi Mehdi, It's always a pleasure for me to get involve telecom problems, besides, it's a good review and still a struggle for...

nästan 9 år ago | 1

Answered

I have bunch of signals.and I have another signal that is one of mentioned signals but with shifted and different magnitude. How can I find out which signal shifted signal with different magnitude?

Hi Vahid, Use crosscorr(f,b) or crosscor(f,b,numel(b)-1) read MATLAB documentation about crosscorr and how ...

I have bunch of signals.and I have another signal that is one of mentioned signals but with shifted and different magnitude. How can I find out which signal shifted signal with different magnitude?

Hi Vahid, Use crosscorr(f,b) or crosscor(f,b,numel(b)-1) read MATLAB documentation about crosscorr and how ...

nästan 9 år ago | 1

| accepted

Answered

Reading Data from more than 2000 txt files in matlab

Hi Ahmed, It's really good that the files name has an order, you can use that to write a program to automatically open a spec...

Reading Data from more than 2000 txt files in matlab

Hi Ahmed, It's really good that the files name has an order, you can use that to write a program to automatically open a spec...

nästan 9 år ago | 0

Answered

how can use fmmod function for make a LFM signal

Hey Mehdi, Sorry, I guess it took me a bit more than 2 hours, I've been a bit busy. Take a look the attached file and how ...

how can use fmmod function for make a LFM signal

Hey Mehdi, Sorry, I guess it took me a bit more than 2 hours, I've been a bit busy. Take a look the attached file and how ...

nästan 9 år ago | 0

Answered

How do I resolve the Improper index matrix reference error?

Hi I guess there should not be a problem plotting a vector and column but why not try to make them both column or row at leas...

How do I resolve the Improper index matrix reference error?

Hi I guess there should not be a problem plotting a vector and column but why not try to make them both column or row at leas...

nästan 9 år ago | 0

Answered

how can use fmmod function for make a LFM signal

Hey Mehdi, I ran your code, couldn't understand anything really. Try this one, you may see some modulation taking place at...

how can use fmmod function for make a LFM signal

Hey Mehdi, I ran your code, couldn't understand anything really. Try this one, you may see some modulation taking place at...

nästan 9 år ago | 1

| accepted

Answered

how can use it for more than two features plot for multiclass svm?

Hey shah, There's no surprise you got error adding plot_x and b, because apparently plot_x is 1x30 and as you said b is 3*1 ...

how can use it for more than two features plot for multiclass svm?

Hey shah, There's no surprise you got error adding plot_x and b, because apparently plot_x is 1x30 and as you said b is 3*1 ...

nästan 9 år ago | 0

Answered

Trying to plot fft,,Please help

Hi Avan, I wish you had provided more information about your problem. I don't see any sign of fft in your code?! I don't r...

Trying to plot fft,,Please help

Hi Avan, I wish you had provided more information about your problem. I don't see any sign of fft in your code?! I don't r...

nästan 9 år ago | 0

Answered

basic question on creating a function and plotting

Hi Vaggelis, How about using anonymous function? f = @(k0,e,a) k0.*e.*a.*(a-1)./(1+e-a.*e) then you can easily evalua...

basic question on creating a function and plotting

Hi Vaggelis, How about using anonymous function? f = @(k0,e,a) k0.*e.*a.*(a-1)./(1+e-a.*e) then you can easily evalua...

nästan 9 år ago | 0

| accepted

Answered

Communicate with FANUC CNC machine

Hi You can definitely do this with MATLAB. You need to have the IP address of your CNC device, if you don't know it refer ...

Communicate with FANUC CNC machine

Hi You can definitely do this with MATLAB. You need to have the IP address of your CNC device, if you don't know it refer ...

nästan 9 år ago | 0

| accepted

Answered

Plot different signals in a single plot using days as reference on the x-aixs

Hi Ramas, I guess I understood your prob. You have to calibrate the X axis according to your highest number of data points...

Plot different signals in a single plot using days as reference on the x-aixs

Hi Ramas, I guess I understood your prob. You have to calibrate the X axis according to your highest number of data points...

nästan 9 år ago | 1

| accepted