Community Profile

# Gurudatha Pai

### University of Wyoming

Active since 2011

http://uwstudents.uwyo.edu/gpai
Professional Interests: signal processing, system identification, power system stability studies

All

#### Content Feed

View by

Question

Why does Microsoft Outlook not like MATLAB's .MAT files?
Hello All, This is not a MATLAB question but I would really appreciate any comments. In my experience, outlook blocks .mat...

8 years ago | 3 answers | 3

### 3

How to plot common zero crossings of 3 different signals (3 sinusoidal signals)?
This may sub-optimal but definitely a start. I would find the zero crossings of each as a vector of 1's and 0's and add them. Th...

8 years ago | 0

| accepted

Question

Matlab's Strange Behavior
>> fprintf('%4d, %1.6f, %1.6f\n',1, 1.1, 1.2) 1, 1.100000, 1.200000 >> disp(fprintf('%4d, %1.6f, %1.6f\n',1, 1.1, 1.2)...

8 years ago | 1 answer | 0

### 1

How to determine the order of ARMA and AR coefficient ?
Model order selection is often a tricky business. Inspecting the Hankel singular values is one many methods. There are many such...

9 years ago | 0

Question

Is there a faster way to implement a FIFO (queue) ?
Hi, I was wondering if somebody could comment on my use of array indexing. I have a recursive function which uses some initial c...

9 years ago | 0 answers | 0

### 0

Question

Help understanding an error
Hello all, I am in a simple situation with an error that doesn't tell you a whole lot. I have a plot that I want to save as a...

10 years ago | 2 answers | 0

### 2

Question

What are the rules for naming script files?
Hello, This is perhaps one of those "I-know-the-answer-still-I-ask" questions. Today, I had a strange error in one of my scri...

10 years ago | 2 answers | 1

### 2

I dont know if somebody has posted this already but I would like to mention that the auto-fill feature frustrates me a lot. I ca...

10 years ago | 0

Font of axis data and legends
you can set once using this command per matlab session or add this to your start-up program set(0, 'DefaultAxesFontSize', A...

10 years ago | 0

"Levelling" out a signal with moving average
I would recommend fitting an exponential curve rather than a poly fit. e.g see example 8.10 in Steven M. Kay, "Fundamentals of...

10 years ago | 0

mathematical expectation
As you have given it, you are only calculating the outer-product and not the covariance. To calculate the covariance you need m...

10 years ago | 0

Time series ARMA model estimation results different from textbook
Assuming that the there is no typo in the data (I dint check), I tried your code through system id GUI of Matlab system id toolb...

10 years ago | 0

Question

Error in publishing
I use Matlab 7.12.0 R2011a, on a Windows XP SP3 box. I am trying to use the publish feature of Matlab to automatically create a ...

10 years ago | 1 answer | 1

### 1

Question

Best method to clear persistent variables
Hello all, Recently I came to know that it is not a good idea to use clear all; So, I started using clear varia...

10 years ago | 2 answers | 3

### 2

Scaling of time
I am of the opinion that the question and solutions offered here don't match. Your question seems to be of a compression. Howeve...

10 years ago | 0

Polar fill sector
I was just wondering if the pie chart could be intelligently used to obtain the same result. @Walter: You would probably know b...

10 years ago | 0

How do I model a time series in MATLAB using ARMA?
Apart from looking at the prediction errors (like correlation analysis) it is always a good idea to analyze the plant (measured)...

10 years ago | 0

time series prediction
To continue on what Rajiv said above, the X in ARX or ARMAX stands for eXogenous input. An AR (ARMA) model is noise driven but a...

10 years ago | 0

How can I simulate a LTI system with complex data?
It looks like impulse() function does not take continuous time systems with complex coefficients; However, if I were to just sol...

10 years ago | 0

Multiple legands with semilogy
My guess is that you are probably using more strings in legend(); e.g: you are plotting only one array and passing two legend s...

10 years ago | 1

Removing a specific number from vector
A = 4; Z = [1 9 2 3 4 5] Z1 = Z(find(Z~=A)) that should work

10 years ago | 4

Out of memory problem
What is the OS virtual memory setting on your machine? on WinXP see My Computer--> Properties --> Advanced Tab --> Change butto...

10 years ago | 0

Matlab rounding to zero?
Like Sean said, convert all variables to some floating point format. You might do something like, for i=1:10000 A(i,:...

10 years ago | 0

| accepted

keep figures from popping up when running.
I won't promise you that this is the best solution, however, is one of them. You could set the 'visible' property off the fig...

10 years ago | 1

Question

What am I not seeing here
Here is a small script that I wrote after I missed a colon and saw some unexpected (by me) behavior in some work I was doing. ...

10 years ago | 2 answers | 6

### 2

Where can I upload images and files for use on MATLAB Answers?
I would put the files on my personal website or dropbox public folder and share a link ( <http://www.dropbox.com>). In both case...

10 years ago | 3

Question

Matlab is confused between line (function) and line (variable)
see code: In a certain power system simulation, I am naming my outputs (typically more than one, a linear MIMO simulation) in t...

10 years ago | 4 answers | 0