Community Profile

# madhan ravi

##### Last seen: Today
3.540 total contributions since 2018

Communication through MATLAB is always better than arguing.

#### madhan ravi's Badges

View details...

Contributions in
View by

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

ein Tag ago | 0

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

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

2 Tage 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) = ...

2 Tage 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

3 Tage 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)

6 Tage ago | 0

Answered
Manipulating Arrays using for loop
doc repmat

6 Tage ago | 0

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

8 Tage ago | 0

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

8 Tage ago | 0

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

8 Tage ago | 0

Question

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

9 Tage ago | 0 answers | 0

### 0

answers

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

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

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

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

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

16 Tage ago | 0 answers | 0

### 0

answers

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

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

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

18 Tage ago | 3

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

18 Tage ago | 0

Question

Is it case sensitive?
When I want to replace a letter in a script file? Say T for example all the small t’s are encountered as well. Is there a specif...

20 Tage ago | 1 answer | 0

### 1

answer

Answered
MATLAB Answers Wish-list #5 (and bug reports)
Why is it impossible to copy paste code from MATLAB mobile?

22 Tage ago | 0

Answered
how do i plot a cell array fi{i} where every cell contains 1*1 matrix
gama_rd=50; v = 0.1; lambda=0:.01:100*.01; fi=((lambda*v*gama_rd+lambda*v+2-lambda).*(1-lambda))./((lambda*v+2-lambda...

22 Tage ago | 0

| accepted

Answered
Contributors metainfo: reputation and more
Congratulations Ameer for becoming an MVP!

26 Tage ago | 1

Question

Why does SIMULINK keep loading?
Says me to restart MATLAB every time I open it in MacOS.

29 Tage ago | 0 answers | 0

### 0

answers

Question

Live update collaboration in MATLAB Online.
I seem to have noticed that Online doesn't update as i make the change. Is that true? Another collaborator notices the change on...

etwa ein Monat ago | 0 answers | 1

### 0

answers

Answered
Question about min and max
google bubblesort and choose which element satisfies your need , hint: ascending and descending

etwa ein Monat ago | 0

| accepted

Answered
input function as plot title?
doc str2func

etwa ein Monat ago | 0

Answered
How to generate a random matrix with a constraint or step range ?
Hint example: x = 1:10; N = 5; x(randi(numel(x),1,N))

etwa ein Monat ago | 0

Load more