Community Profile

photo

Muthu Annamalai

MathWorks

Active since 2012

Followers: 0   Following: 0

Message

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

All
  • Knowledgeable Level 3
  • 3 Month Streak
  • Quiz Master
  • CUP Challenge Master
  • First Review
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Puzzler
  • Promoter
  • Commenter
  • Speed Demon

View badges

Feeds

View by

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 1

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

Answered
Orthogonalization of time series data
Sounds like eig maybe useful, and you may find *principal component analysis* (PCA) of interest too. See <http://www...

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

| accepted

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

Answered
Why is my RGB image not displaying as expected using imshow?
Have you tried using a, *colormap* >> doc colormap may help.

mer än 8 år ago | 0

Answered
Read in a plain/text file in Matlab
Original question is answered by # doc fileread See split manipulation functions # doc strsplit # doc regexprep

mer än 8 år ago | 0

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

mer än 8 år ago | 0

Answered
Anonymous function alternative for MATLAB Coder?
You may write out your function with extra arguments as object. First define this class, classdef FcnWithArgs prop...

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 1

| accepted

Answered
shade area under a semilog plot
Hello @monkey_matlab, After some experimenting I find the following a interesting variant for your requirement, close al...

mer än 8 år ago | 1

Answered
How to simulate precession?
MATLAB has lots of tools to plot/visualize the fields/flows, including but not limited to the following, doc plot3 ...

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

Answered
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

nästan 9 år ago | 0

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

nästan 9 år ago | 0

| accepted

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

nästan 9 år ago | 0

| accepted

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

nästan 9 år ago | 0

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

nästan 9 år ago | 0

Load more