Why do we need the period before the ^ operator but not in other? IF the function is x^2- x*sin(x), do we need the period before the * in x*sin(x);
I'm in need of the answer, asap!
Thank ...
hi,
i'm writing a matlab program to stream in live data from an external instrument, record it, plot it and send it of as an input for further processing. i'm using infinte looping in my pro...
If I run the matlab code attached, it fails because it needs the text to be an array. Is there a fast way to convert that cell array of text to an array of text such that the csvwrite function...
I am trying Matlab for essentially the first time and am trying to calculate the gradient of a function. I am getting this error:
??? Error using ==> zeros
Trailing string input must be a va...
hi,
i'm writing a program in MATLAB that captures data from the different sensors of an external instrument through the serial port of p.c and then scans the data and then records and displa...
Hi,
I've got a matrix with about 1 million rows and 1 column. I need to resize it so it only has 500,000 rows. How do you 'crop' a matrix in matlab?
Thanks
Hello everyone:
I have another question about FFT resize image.
I have an image and calculate its FFT, question is if I enlarge or reduce images size, how can I get its new FFT base on prev...
Please find the attached code
I want to draw a circle of 1 meter radius at f1 and a 11 meter at f2
I have tried to search in the help files but can't figure it out...
your help would ...
Hi all, I am new to mathlab. Please warn me if I miss some information for the question.
I see a command window in matlab 7.1.
How can I plot below signal y[n]?
http://s69.photobucket.com/...
Hi Experts,
I am trying to write a VHDL code to divide Clock by 2n where n varies from 0 to 255.
I am successful in dividing the clock by 2
Eg: if i give the clk as 40Mhz
it should divi...
I am using Matlab, and am trying to perform a series of operations on several arrays, whose values are read from a .csv file. each array has a distinct name; I was thinking of pre-defining the...
Does anyone know if there is a way to keep multiple GUI items highlighted, in Matlab? I have two listboxes in my GUI and I want both of the selections to remain highlighted and visible. The de...
Hi,
I am trying to import data into Matlab. There are five columns: Date, Time, Open, High, Low, Last Price. I am trying to do this through "uiimport" (import wizard) or "xlsread" command. Th...
I can't read the date from excel file on Matlab but other numeric data on the excel i'm able to read it.
I am attempting to read in a Binary file using MATLAB. I know what the first few values should be, but they are not reading correctly. For example, the first value is a 32 bit integer. I kn...
Does anyone know how to write a program or where I could find a way to read in a wave file in matlab and determine the respiratory rate/breathing rate which has a range of 12-20 breaths per mi...
Hello!
I have a program and it runs simulations and makes graphs, etc.
Say the program plots a graph on axis1 from a simulation. The user wants to know if his / her theoretical predictio...
Hi all,
I'm having a major problem that doesn't make any sense to me. Basically, I have an array x2 = [4;5;6], a scalar N = 3, an array of zeros size 7 * 7 called b, and an array m = [1 2 3...
I am trying to use matlab to extract the data from a *.wav (RIFF) file. The begining of the *.wav file has all kinds of information about the bit rate and such that I don't want. I recorded ...
Hi,
I am trying to execute the command similar to the one below. "program.bat" is a batch file that launches the .exe program. After it executes and the .exe program runs, I would like Ma...
Hi all,
I am having a problem computing a 1 dimensional matrix, whose elements are made up of sums of one 1-dimensional matrix dot multiplied by one column of a 2-dimensional matrix. Please s...
I have a project with extensive use of 35x35 matrices. But also a lot of GUIs. So I thought, do the GUIs in VB.net, and do the processing in function calls to a Matlab dll.
So I compiled a ...
Can anyone point me to code example of doing histogram backprojection in matlab?
I am using version 2008a with all toolboxs installed.
Thanks!
I would like to call a DLL written in C# from within MatLab?
My current belief is that as of this moment, the easiest way for Matlab to call into .Net is via COM.
Only problem is that ...
I have the error when trying run this program:
??? Error using ==> plot
Conversion to double from inline is not possible.
Error in ==> euler1 at 11
plot(t,y1,'or')
Please explain for ...