Community Profile

photo

madhan ravi


Last seen: Today
4.482 total contributions since 2018

Communication through MATLAB is always better than arguing.

madhan ravi's Badges

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

View details...

Contributions in
View by

Answered
Imaginary Number Notation/ Formatting Real and Complex Results
The imaginary part might not be exactly zero. vpa(Answer)

ongeveer 20 uur ago | 1

Answered
Find equal value in two cell arrays
Wanted = find(cellfun(@isequal, A, B))

ongeveer 20 uur ago | 0

| accepted

Answered
Beginning matlab user error, functions
Take that fminsearch() outside of the function doc function % see how to use functions

ongeveer 22 uur ago | 0

| accepted

Answered
row elimination problem.
A(all(A == 0, 2), :) = [ ]

ongeveer 24 uur ago | 1

| accepted

Answered
sin() - Subscript indices must either be real positive integers or logicals.
clear sin % since it's a variable

1 dag ago | 1

| accepted

Answered
How do I simplify the values of a function?
>> a a = 2 >> b b = 4 >> syms x f(x) = a*b + b*x f(x) = 4*x + 8 >>

1 dag ago | 0

Answered
2 Scenario Legend Setup
plot(1:5, '-k') hold on plot(6:10, ':y') legend({'Leg 1', 'Leg2'}) %?

2 dagen ago | 0

Answered
draw a plot-graph
doc fimplicit3

2 dagen ago | 1

Answered
How to write delta in matlab?
<https://www.mathworks.com/help/symbolic/sym.dirac.html>

4 dagen ago | 0

Answered
I want to split a char array '1001' into 1 0 0 1 bits
'1001' - '0'

5 dagen ago | 0

Answered
Differential equations using ODE45
doc ode45 % have a read at the document

5 dagen ago | 0

Answered
How to get == to help solving equations
You should have the Symbolic Math Toolbox and the license for it to perform the above operation. In order to replicate your mess...

5 dagen ago | 0

Answered
How to use blkdiag in 3D matrix
A slight variation: M = cell(size(B, 3), 1); for k = 1 : size(A, 3) M{k} = blkdiag(A(:, : , k), B(:, :, k)); end M =...

5 dagen ago | 0

Answered
How do I add color to text output to the Command Window?
https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-colored-text-in-the-command-wind

5 dagen ago | 0

Answered
Need help inputting my equation into MATLAB
In line f, M(t) causes the error perhaps you mean‘t M*t ?

6 dagen ago | 0

Answered
How to store value of for loop in a array
for z = linspace(0, 0.03, 31) By the way you don’t need a Loop it’s simply: A = 1 ./ (1 + ((z / aes) .^ 2))

6 dagen ago | 0

Answered
solve first-order ODE
ode = @(t, Y) sin( exp(Y - t/2) - t^2/2 ) ode45(ode, [0 2*pi], 0)

6 dagen ago | 0

Answered
Creating an array of dependent symbolic variable
A(x) = str2sym(regexprep(char(A), '(\_?\d)+', '$0(x)'))

7 dagen ago | 0

| accepted

Answered
splitting up numbers in a cell of a double
Wanted = vertcat(cell_array{:}) %or Wanted = cat(1, cell_array{:})

7 dagen ago | 0

Answered
How can I asign columns of a matrix to different matrixes?
permute(reshape(matrix, 154, 558, []), [2, 1, 3])

7 dagen ago | 1

| accepted

Answered
what's going on?
plot(A.' , '-x')

7 dagen ago | 0

Answered
テキストファイルから特定の行、列の読み込み
Use readtable()

8 dagen ago | 0

| accepted

Answered
substitute only first derivative in symbolic toolbox
I remember doing vibration analysis, used to be pretty tricky: expr2 = subs(expr, diff(x, 2), diff(v))

8 dagen ago | 0

| accepted

Answered
MATLAB Answers Wish-list #5 (and bug reports)
When someone tries to answer a homework question (when it has a tag), it could restrict the answered to post the full solution(s...

8 dagen ago | 0

Answered
Summing an array and plotting it.
doc cumsum doc plot

8 dagen ago | 0

Answered
If statement for the structure in table
FIND_rows_of_A = find(strcmp(T.alphabet, 'A')) %or FIND_rows_of_A = find(ismember(T.alphabet, 'A')) [Alphabets, ~, c] = uniqu...

8 dagen ago | 0

| accepted

Answered
How to enter variable names into plot title (R2019a)
title(sprintf('2D Gaussian when mean is %.2f and standard deviation is %.2f', m(ii), s(ii)))

8 dagen ago | 0

| accepted

Answered
Syms dependent on time vector notation
formula(du)

8 dagen ago | 0

| accepted

Answered
Identify a number in a string
Wanted = str2double(regexp(Ans, '(+|-)?(\d+)?\.?\d*', 'match'))

9 dagen ago | 0

| accepted

Load more