Community Profile

Sudharsana Iyengar

14 total contributions since 2013

View details...

Contributions in
View by

How do i create a colormap that seperates ranges between exact values?
Try something like this, custom colormap with 5 colors. mymap = [0 0 0 1 0 0 0 1 0 0 0 1 1 1 1]; surf(...

plus de 2 ans ago | 0

How to plot Poincare map and Bifurcation diagrams of ferrosonance
For bifurcation diagram: Run the system for particular values of the parameter and store the time series. Change one of the pa...

plus de 2 ans ago | 2

summation of two different loops
If the vectors generated are of same size then you can add them. It is not clear what you mean by loop. Do you mean for loops. w...

plus de 2 ans ago | 0

Problem in copying figure in MATLAB 2014b
have you tried this eval(['print -dmeta nameofyourfile.emf']);

presque 5 ans ago | 0

How to construct image from a .dat file?
what does your dat file contain. did you try imagesc option. import the dat file into matlab and store as a variable. ...

presque 5 ans ago | 0

How can I store scores in txt file by fprintf?
since you want it in text format why dont you use dlm write. If suppose you want to save a particular variable say S use fo...

presque 5 ans ago | 0

Importing specific rows of Data from Text file
I dont know if this would help. when i looked at your sensor data the first column consisted of strings while remaining columns ...

presque 5 ans ago | 0

How do I use a for-loop to do fft and plot the power?
HI, Try this and let me know. for a= 0:4 A=fft(Be(a*1000:(a+1)*1000)); A(1)=[]; ...

presque 5 ans ago | 0

How can I plot only certain values from an array?
just another method. This is round about way and will actually take more time to execute. j=1; for i=1:length(a)...

presque 5 ans ago | 0

How to plot from certain range of data?
Did you try the following x=Scope1(:,1); y=Scope1(:,3); plot(x,y) xlim([10 20]) More easier option wo...

presque 5 ans ago | 0

How can I write a program to make someone input a 6 digit number and show a result of the summation of the 6 digits?
you can try this simple program by using fix. This writes a six digit number as sum of ones hundreds thousands etc. This code...

presque 5 ans ago | 0

Question

How to use ode 45 to solve a system that is piecewise continous
I am trying to use ode45 to solve a differential equation in which a parameter depends on time. When t is even the parameter is ...

environ 6 ans ago | 0 answers | 0