Community Profile

photo

madhan ravi


Last seen: Today
3,549 total contributions since 2018

Communication through MATLAB is always better than arguing.

madhan ravi's Badges

  • First Review
  • First Submission
  • Thankful Level 4
  • 12 Month Streak
  • Ace
  • Knowledgeable Level 4
  • Promoter
  • Commenter
  • Revival Level 3
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
what is the difference of plot 3d and comet 3d?
doc comet3 doc plot3

6 hours ago | 0

| accepted

Answered
How to add a label to a general line
Use sprintf(...)

8 hours ago | 0

Answered
Sizing in subplot()
Plot first 4 graphs in a separate figure and the next four in the other.

8 hours ago | 0

Answered
Not enought input arguments
Use function in a proper way. Please see the documentation on how to call a function properly.

9 hours ago | 0

Answered
How can I replace "" entries in a table?
iX=str2double(TT.vm2PR); TT.vm2PR(isnan(iX))=0

9 hours ago | 0

| accepted

Answered
naming figure window in a for loop
figure('Name',sprintf('single mode efficiency is %6.2f% \n',mean_E))

12 hours ago | 0

| accepted

Answered
Function calls of both script and Inline variety
There’s one additional “)” in the inline(...) function. Remove it.

12 hours ago | 1

| accepted

Answered
MATLAB Y軸の最大値におけるX軸のあたい
% An example x = 0:pi/2:4*pi; y = sin(x); [PeaKs,ix]= findpeaks(y) % for negative peaks use -y X_axis = sym(x(ix))...

20 hours ago | 0

Answered
How do I correctly enter the function f(x,y)=sin((pi/2)*(x+y))?
% Option 1 x = [x0,x1]; y = [y0,y1]'; z = sin(pi/2*(x+y)); F = griddedInterpolant({x,y},z); xq = 1/...

21 hours ago | 0

Answered
How to correctly get a sine/cosine-signal in Simulink?
<https://youtu.be/iOmqgewj5XI> , cos(...) is the sin(...) with phase shift.

5 days ago | 0

Answered
How can I make my script decide which scalar of two variables is larger?
MAX = max(bx,cy)

6 days ago | 0

| accepted

Answered
I keep getting two answers for my code
Add a semicolon in the last line. And call the function with an output argument.

6 days ago | 0

Answered
Solve ODE with odee45
ic=randi([0,1],4,1) ode45(@(t,y)myfunc(t,y,5),[0,10],ic) function dy = myfunc(t,y,vas) dy=zeros(4,1); dy(1) = ...

6 days ago | 0

| accepted

Answered
Function sinc in matlab
y = (4000 * sinc(4000 * x)) .* (exp(j * 2 * pi *7000 * x)); % .*!! Note: By default j is an imaginary number in MATLAB

6 days ago | 1

| accepted

Answered
using plotyy but having 2 different measuring units on y axis
yyaxis left plot(x,value1) yyaxis right plot(x,value2)

9 days ago | 0

Answered
Manipulating Arrays using for loop
doc repmat

10 days ago | 0

Answered
How to manipulate MATRIX size
[Matrix,zeros(31,104-90)]

12 days ago | 0

Answered
What is the notation meaning in these codes
u = 1:6 u(1:3) u(4:6)

12 days ago | 0

Answered
problem with rref function please help
Use a semicolon or a comma before rref(...)

12 days ago | 0

Question


Why is plot quality low?
The figure quality is low when generating a pdf from livescript in MATLAB Online.

13 days ago | 0 answers | 0

0

answers

Answered
solving quartic eqn returns root
solx = vpa(solve(eqn,H,'Maxdegree',4))

13 days ago | 0

| accepted

Answered
What frustrates you about MATLAB?
While MATLAB Online is a good feature there's still a factor that could be improvised for enhancing active collaboration on the ...

17 days ago | 0

Answered
Why is the rectangle() function not recognized?
built-in (/MATLAB/toolbox/matlab/graphics/primitive/rectangle) If you see other than the above after using which rect...

18 days ago | 0

Answered
Why is @(x) used in matlab and how does it work?
It’s just a matter of choice as Kalyan mentioned above how it works. The usage depends completely on the coder. As pdfx(...) was...

18 days ago | 0

Question


What’s the best processor?
I want some opinions/suggestions to buy a powerful Mac just for powerful computations without any problems. I know there are som...

19 days ago | 0 answers | 0

0

answers

Answered
Change text to numbers in a cell
V = str2double(string(A)); % <2016a V(isnan(V)) = 1

21 days ago | 1

Answered
Attempting to sum over i, with linspace'd variable x, to plot increase in y with x
n = 33; x = linspace(0, 0.1); ii = 1:n y = cumsum((2/pi)*(((-1).^(ii+1)+1)./ii).*(sin(ii*pi*0.005/.01))... *(cosh(ii*pi....

21 days ago | 0

Answered
MATLAB Answers Wish-list #5 (and bug reports)
There is a feature called "Managed Followed Content" , would like to see a feature to be able to "bookmark/pin" questions within...

22 days ago | 3

Answered
not enough input arguments
a = [268.32,0, 120,0,240]; a = num2cell(a) T = transformation_matrix(a{:});

22 days ago | 0

Load more