Using tfestimate for measured signals?
Hello, I would need to calculate a transfer function of two hydraulic pressure signals, measured in time domain. Moreover, I would specifically need one complex number value for the transfer function at the pumping frequency of the measurements. Is this possible using the tfestimate- function? Or is there some o... 21 Jan 2010 05:38
Repetitions, starting ending index and repeated value
Thanks Jos, I was really looking for a smart way to replace NaN! To Bruno, I've already written the code using the common steps illustrated by Jos but I really like the elegance of the struct allocation, I'll test it against the performance of the loop allocation. eval(fliplr(')''gelO .live m''''I''(psid')) ... 21 Jan 2010 04:32
Chili recognition
I have upload a chili picture at http://img197.imageshack.us/img197/9854/dsc00709iv.jpg .There have 3 objects in the picture.so i want to differentiate between chili and another object. My aim is to identify and recognize the chili with their pattern. How to develop a Matlab program? Thanks. ... 23 Feb 2010 12:25
xlsread error
Hello! I have been using xlsread to read from .xlsx files. Now suddenly my code is giving the following error. It looks like error from the COM. ??? Invoke Error, Dispatch Exception: Source: Microsoft Office Excel Description: Open method of Workbooks class failed Help File: C:\Program Files\Microsoft Offic... 21 Jan 2010 00:11
Filter bank spectrum sensing
Hi.... I'm doing a project in which I have to design Filter banks for Spectrum Sensing for Cognitive radio. I'l be sending a sequence of signals through a filter bank, which will first downsample the sequence. Then later it will upsample it, so that I can achieve Spectrum Sensing. The entire project will be implem... 21 Jan 2010 01:17
Problem with pointLocation
I am using pointLocation and input 117 points to be located. For some reason pointLocation is only returning me 116 entries instead of 117. If I have the exact same line of code one line above the othe in my m-file, pointLocation will return one with 117 entries and another with 116! ex (size of x and y are both... 21 Jan 2010 00:11
Need help with running javascript in MATLAB
Hi all, Does anyone know how to run a javascript in MATLAB? I know how to access a webpage using "urlread" command, but that specific webpage has a javascript link to download a specific file (which I am interested in) and I do not know how to run that in MATLAB. ... 20 Jan 2010 21:55
Subscript indices must either be real positive integers or logicals.
Hi, I have found many threads that had the same problem. Unfortunately, I am not that familiar with Matlab so I wasn't able to fix it. My wrote represents the ear, and what the neurons do when a signal gets through - there will be a spike. I have a few loops in it, that count how often a signal gets through, etc. Now I... 20 Jan 2010 23:01
Rotation of an ellipse in 3D
Hi, I am writing a matlab code which will enable me to simulate the orbits of the Earth, an asteroid and Mars around the Sun. First of all, I did in 2D: function [E,J,M]=plotter(ae,ee,Pe,aj,ej,Pj,am,em,Pm) step=pi/20; theta=0:step:2*pi; %Plot of the Sun hold on %e=eccentricity e=0; %a=semima... 20 Jan 2010 19:42
Mex compilation with opencv libraries
Hello I have a need to acquire and process images from a "Point Grey Research Chameleon" camera in MATLAB. I do not have the Image Acquisition Toolbox, however, I do have some C++ code making use of functions in OpenCV to do the acquisition and have been successful in compiling a C++ MEX file to get images into Mat... 20 Jan 2010 18:34