photo

Gurudatha Pai


University of Wyoming

Actif depuis 2011

Followers: 0   Following: 0

Message

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

Statistiques

All
  • First Review
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

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

plus de 11 ans il y a | 4 réponses | 3

4

réponses

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

A résolu


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

presque 12 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

presque 12 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

presque 12 ans il y a

A résolu


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

presque 12 ans il y a

A résolu


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

presque 12 ans il y a

A résolu


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

presque 12 ans il y a

Réponse apportée
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...

presque 12 ans il y a | 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...

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

plus de 12 ans il y a | 2 réponses | 0

2

réponses

A résolu


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

plus de 12 ans il y a

A résolu


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

plus de 12 ans il y a

A résolu


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

plus de 12 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

plus de 12 ans il y a

A résolu


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

plus de 12 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 12 ans il y a

A résolu


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

plus de 12 ans il y a

A résolu


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

plus de 12 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

plus de 12 ans il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

plus de 12 ans il y a

A résolu


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

plus de 12 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

plus de 12 ans il y a

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

plus de 12 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

plus de 12 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 12 ans il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

plus de 12 ans il y a

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

plus de 12 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
[DEPRECATED] What frustrates you about MATLAB?
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...

plus de 12 ans il y a | 0

Charger plus