Muthu Annamalai
MathWorks
Followers: 0 Following: 0
Regular Joe :)
DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks, Inc.
Professional Interests: Mathematical Modeling, Communications, Photonics, Optics
Statistics
RANK
818
of 295.495
REPUTATION
90
CONTRIBUTIONS
0 Questions
93 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
11
RANK
of 20.240
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How to create structure with while loop?
Hello Vy, You are looking for a event loop like this, answer = 'y' while strcmpi(answer,'y') %do something an...
ongeveer 9 jaar ago | 0
What code would I use for this question
The code depends on who gets the extra credit J I would recommend using a while loop like another example in page 4 of Cleve ...
ongeveer 9 jaar ago | 0
i am student, i want to detect the tumour that is lung cancer cells present in lungs using template matching algorithm.
Have you considered using Mathworks' <http://www.mathworks.com/products/computer-vision/features.html#object-detection-and-recog...
ongeveer 9 jaar ago | 1
How to insert char to table?
If you are mismatching to the number of rows in your Table. Try assigning a cell-array of strings to your Table out2, at the ...
ongeveer 9 jaar ago | 0
how can i combine 8*8 blocks into image after inserting text in each block?
You have code that almost works, pending a linear transformation; I would suggest trying the 2-step recipe, # Build the mosai...
meer dan 9 jaar ago | 0
Orthogonalization of time series data
Sounds like eig maybe useful, and you may find *principal component analysis* (PCA) of interest too. See <http://www...
meer dan 9 jaar ago | 0
Importing Excel Files using a Function
MATLAB is not able to find your variable *workbookFile*. You should try to add a call to *narginchk(1,3)* in your code, like ...
meer dan 9 jaar ago | 0
What is the best approach in editing script files with other script files ?
@Rodriguez, and @Cedric I propose an alternative way to look at the question; it would be nice to have same script return differ...
meer dan 9 jaar ago | 0
Problem writing in data into a csv using fprintf
Have you tried <http://www.mathworks.com/help/matlab/ref/csvwrite.html csvwrite> or <http://www.mathworks.com/help/matlab/ref/d...
meer dan 9 jaar ago | 0
Can this loop be sped up significantly?
It seems like you are trying to calculate a 2-tap FIR filter (if your lagsTE = 1) or lagsTE+1 tap FIR filter with lagsTE-2 coeff...
meer dan 9 jaar ago | 0
How to convert floating point filter coeffiecients ( generated from FDA tools) to fixed point without Fixed point toolbox
Did you try the fixed point conversion tool ? It generates fixed point MATLAB code as intermediate output during generation o...
meer dan 9 jaar ago | 0
| accepted
I wanna create vector of structures
You may also try, in addition to Azzi's code, ii=1:10; vec = arrayfun ( @(i) struct('a',i, 'b',20-i, 'c',i+3), ii ); ...
meer dan 9 jaar ago | 0
How set minimum peak height (threshold of peak height)
Turns out in your case there is an option called *MinPeakHeight* in the *findpeaks* documentation. Check this out, <http://ww...
meer dan 9 jaar ago | 0
Why is my RGB image not displaying as expected using imshow?
Have you tried using a, *colormap* >> doc colormap may help.
meer dan 9 jaar ago | 0
Read in a plain/text file in Matlab
Original question is answered by # doc fileread See split manipulation functions # doc strsplit # doc regexprep
meer dan 9 jaar ago | 0
How do I plot wireless signal strength measurements using a spherical plot
You may try to plot the *polar* plots for X-Y, X-Z, and Y-Z planes, and choose to use decibel (dB) scale or *log* scale. Read m...
meer dan 9 jaar ago | 0
Anonymous function alternative for MATLAB Coder?
You may write out your function with extra arguments as object. First define this class, classdef FcnWithArgs prop...
meer dan 9 jaar ago | 0
How to compute execution time?
Have you tried, # >>doc timeit # >>doc profile Using *timeit* is easy but your script has to be in a function form. Usin...
meer dan 9 jaar ago | 0
How to break out of a while loop inside a function block ?
Changing your code to, keep = true; h = figure('KeyPressFcn',@() keep= ~keep ); while keep ...
meer dan 9 jaar ago | 0
"findobj" for user defined class?
While @Steve Lord has answered the question "why you shouldn't do this," I'll go ahead and try to answer how you can do this, an...
meer dan 9 jaar ago | 1
| accepted
shade area under a semilog plot
Hello @monkey_matlab, After some experimenting I find the following a interesting variant for your requirement, close al...
meer dan 9 jaar ago | 1
How to simulate precession?
MATLAB has lots of tools to plot/visualize the fields/flows, including but not limited to the following, doc plot3 ...
meer dan 9 jaar ago | 0
How to detect the simulation start command (Run Button of a model) for inserting user commands before the 'SimulationStatus' takes the value 'start'?
Hello Richard, I assume you want to modify properties of a block on 'initialization of simulation'. You have callbacks on ...
meer dan 9 jaar ago | 0
how to convert a parity matrix to systenatic form? eg:H=[1 1 0 0;1 0 0 1] to form h=[1 0 ? ?;0 1??] i.e h=[I:P] in place of ? it can be 0 or 1
You may try to make the matrix into a Row Echelon form. This is similar to a technique of manually finding the matrix inverse <h...
meer dan 9 jaar ago | 0
saving mat file changes my structures!
Your problem maybe that you are loading wrong, whereas your *save* code seems OK. Try this code for your load function, ...
meer dan 9 jaar ago | 0
How can i import audio from a zip file into matlab to generate the autocorrelation, pitch, and linear prediction
Try # doc wavread # doc audioread # doc unzip
meer dan 9 jaar ago | 0
compute mapping matrix between two label matrix
Try using the MATLAB function <http://www.mathworks.com/help/matlab/ref/mode.html mode> e.g. mode( B(A==1) ) returns *...
meer dan 9 jaar ago | 0
| accepted
problem with anonymous function in executable
While I don't have a explanation of why you are seeing this error, I have a suggestion to rewrite your code. Generally _funct...
meer dan 9 jaar ago | 0
| accepted
Hello can somebody tell me what I am doing wrong?
Hi Pittman, In addition to the answer by Jos, I have some observations for you: # Enter the data at your runtime as '5', a...
meer dan 9 jaar ago | 0
Gridding data set and highlighting selection
I recommend you to read basic plotting tutorial using MATLAB and use some standard plotting functions like below, # plot func...
meer dan 9 jaar ago | 0