Community Profile

photo

madhan ravi


Last seen: Today
3 950 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
Is there any discrete mathematics solver for symbolic equations ?
You may have a look into collect(), isolate() which may be of use for you to obtain those results. doc collect doc isolate

30 minuter ago | 0

Answered
matching based on some conditions
Z = (D2 <= CD(T)) .* T % are you sure about your desired result? , or am I missing some crucial information here

ungefär en timme ago | 0

Answered
How to change this iteration to a for loop version
[x , v] = deal(cell(500, 1)); x{1} = kron(W,I)*x0-alpha*v0; v{1} = kron(W,I)*v0+ tilH*x{1}-tilH*x0; for k = 2:500 ...

ungefär 2 timmar ago | 1

| accepted

Answered
Undefined function 'isfile' for input arguments of type 'char'.
<https://www.mathworks.com/help/matlab/ref/isfile.html> , released in *2017b* so if you’re using prior release won’t work. And s...

ungefär 10 timmar ago | 0

| accepted

Answered
While loop with OR
setdiff(array, [1,4,5,6,8])

ungefär 18 timmar ago | 0

Answered
How to make an if condition where strings are involved?
if ~ismember(letter, alphabet) fprintf('%s is not a letter\n', letter) end

ungefär 22 timmar ago | 0

| accepted

Answered
How to add legend in a 3D scatter plot?
legend(' :) ')

ungefär 23 timmar ago | 0

Answered
mod function return wrong answer?
>> mod( -eps, 1 ) < 1 ans = logical 1

ungefär 24 timmar ago | 0

Answered
How can I check the image whether it is two-dimensional or three-dimensional programmatically?
doc ndim % if ndims() == 3 or 2

en dag ago | 0

| accepted

Answered
How to call a function with multiple inputs in a script file?
<https://www.mathworks.com/help/matlab/ref/function.html> - on how to use functions properly. A = 1; B = 2; C ...

en dag ago | 1

Answered
Average of a column without including a certain number
certain_number = 5; % example A(A == certain_number) = NaN; % use A(ismember(A, certain_numbers)) = nan if certain_numbers...

en dag ago | 1

Answered
conditions writing in matlab
x(j, :)

en dag ago | 0

Answered
Update Legend with varying values (variables)
legend(sprintf('curve%d', n))

en dag ago | 0

| accepted

Answered
Lablepoints create name with variable
SNR_Name = compose('SNR = %d', SNR)

en dag ago | 0

| accepted

Answered
How to convert matrix equations to system equation of element in row of matrix in matlab live script
syms a b % example A = [a b; b a].' % those matrices should be transposed B = [a b; b a].' C = [1:2; 3:4].' A(:) + B(:) ==...

en dag ago | 0

| accepted

Answered
How to connect 3 variables logically?
L = 2; [L1, L2] = deal(L / 2)

en dag ago | 0

| accepted

Answered
How can I solve a complicated symbolic integral
assume( x < 15 ) % some assumptions for x

en dag ago | 0

| accepted

Answered
why my graph is blank ?
./

en dag ago | 1

Answered
convert an array of alphabet letters into numbers ; A =a1, B =2, C = 3 etc.
Alphabet = ['C F L A A C' ]; [ii, lo] = ismember(Alphabet, 'A':'Z'); Numbers = lo(ii)

en dag ago | 1

| accepted

Answered
selection of specific value of a column from a matrix
Use the same code I gave you in previous code , but remove *'descend'* .

2 dagar ago | 0

Answered
How can I do implicit differentiation
syms y(x) https://in.mathworks.com/help/symbolic/diff.html

2 dagar ago | 0

Answered
How to print several matrices with different dimensions from a single line of code?
ABC = {A, B, C}; [A, B, C] = ABC{:}

2 dagar ago | 0

| accepted

Answered
Does anyone know what block is this?
Gain and sum block inside a subsystem, atleast to me ;)

2 dagar ago | 0

Answered
how to use saveas specify the size of plot when one save the plot
<https://www.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-and-resolution.html> - see release first

2 dagar ago | 0

| accepted

Answered
save matrix in loop to 3D matrix (storage all inkomming matrix)
M = cell(n, 1); % n - number of files for k = 1:n M{k} = load(filenames{k}); % assuming you saved filenames in a cell a...

2 dagar ago | 0

| accepted

Answered
Why a figure window with a certain figure number cannot be opened?
That’s why you should assign a handle to the figure.

3 dagar ago | 0

Answered
Avoid lower case in legend by plotting legend with 'DisplayName'
Use labels without _ . regexprep('001_M1_Distance_0.5m_AKG_C1000S_F1_MS1','_','') % to remove underscores

3 dagar ago | 0

Answered
Conversion to logical from sym is not possible
4 * u % ^ Give assumptions for u: assume(u > 0) D1 = isAlways(4-4*u < 0) D2 = isAlways(4-4*u == 0) D3 = isAlways(4-4*u > ...

3 dagar ago | 0

| accepted

Answered
calling the variable from one script to another one and making a plot
save CL1 % in 2 load CL1 % in 1

3 dagar ago | 0

| accepted

Load more