photo

Shashank Sharma


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Error when building a trend line
polyfit requires x , y to be vectors. Also, it makes no sense to fit a single value. It seems to me that your usage of polyval ...

5 years ago | 0

| accepted

Answered
multiple logarithmic x-axes
https://www.mathworks.com/help/matlab/creating_plots/graph-with-multiple-x-axes-and-y-axes.html The above doc describes the cre...

5 years ago | 1

Answered
how to add 2 legends for 2 portions of one plot?
The following plot gives rise to two legends plot(x,y,'b'); hold on; plot(x1,y1,'r'); legend( 'on', 'off'); matlab automati...

5 years ago | 0

Answered
Outputting function into multiple columns of matrix
Instead of returning [A1, A2, A3, A4, A5, A6] seperatly redifine your function to return AA. Where, AA = [A1 A2 A3 A4 A5 A6]; ...

5 years ago | 1

| accepted

Answered
How to scale figure when printed in pdf without losing resolution?
Can you attach your generated pdf ? It seems to be running fine on my computer. The titles of the figure and the xlabel appear...

5 years ago | 0

Answered
why the subtraction gives the wrong ans.?
If you want to store negative it is better to convert it to int16. This makes it possible to store negative integers. The form...

5 years ago | 0

Answered
How can I change orientation and resolution in a pdf printed figure?
Instead of the set function, use the orient function to set the orientation that is used when saving or printing https://www.ma...

5 years ago | 0

| accepted

Answered
Error using svd Input to SVD must not contain NaN or Inf.
Run any(any(isnan(din))) and any(any(isinf(din))). If the output is 1 it means your matrix din has an infinity value or a not a ...

5 years ago | 0

| accepted

Answered
How to get the max level and the fields name of the HDF5 data?
https://www.mathworks.com/help/matlab/ref/h5info.html The h5info function gives you the required information about a hdf5 file....

5 years ago | 0

Answered
How to obtain a .csv file?
https://www.mathworks.com/help/matlab/ref/writematrix.html Documentation for writematrix function, writematrix(A,filename) here...

5 years ago | 0

| accepted

Answered
Is there an option for verbose or debug log file when installing MATLAB?
https://www.mathworks.com/matlabcentral/answers/101927-where-are-the-matlab-installation-and-activation-log-files-located The a...

5 years ago | 0