Community Profile

photo

Piyush Lakhani


Last seen: Today Active since 2020

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
2D plot by including third parameter as colorbar
The simplest way to doing this is by using the 'surf' or 'contourf' functions. But, for that you need to create m x n matrix ...

4 years ago | 0

| accepted

Answered
changing existing hourly data figure to average daily figure
Hi Muhammad, using 'findobj' function you may got the data points and replot after calculating the mean. Following is solution...

4 years ago | 0

Answered
Arrange data of an array in certain order.
Hi, First read the text file and X,Y,Z data for indiviual variables. D=xlsread('DynamicDW.xlsx') C1=D(:,[1:3]); C2=D(:,[...

4 years ago | 0

Answered
fplot too many input arguments
Hi Jonathan, I am not getting why you are running this function file. But, still if you required to run this you missed the bra...

4 years ago | 1

Answered
Convert CSV to TXT without changing data properties
Hi James, Following way might be work for you. x=csvread('filename.csv','Row_offset','column_offset'); %if your file has tex...

4 years ago | 1

Answered
How to find the middle element of a square array
Hi Kevin, The 'size' function returns the two element array 'row and column'. As what i can understand you want a single value ...

4 years ago | 0

Answered
second x-axis?
Hi Maxwell, You can use 'plotxx' that gives better control on axis handling. It is not MATLAB library function so, you have to ...

4 years ago | 0

Answered
Output Argument not assigned during call
Hi Jesse, The error you had mentioned will occured only in the case when the output Variable "MaxPower" is not assigned in the ...

4 years ago | 0

Answered
How to make countour plot zoomed out
Hi William Donovan Simplest way to doing this is by setting the axis limits. Here i am just mentioning one example. contour(...

4 years ago | 1

| accepted

Answered
How can I plot functions stored in a matrix?
Hi PETER SWOVICK, Yes you can do it by using the "for" loop. for i=1:1:n % Here n is nuber of times you want to genera...

4 years ago | 0