Community Profile

photo

madhan ravi


Last seen: Today
3,947 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
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...

5 hours ago | 0

| accepted

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

14 hours 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

18 hours ago | 0

| accepted

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

19 hours ago | 0

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

20 hours 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

21 hours 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 ...

21 hours 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...

22 hours ago | 1

Answered
conditions writing in matlab
x(j, :)

23 hours ago | 0

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

1 day ago | 0

| accepted

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

1 day 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(:) ==...

1 day ago | 0

| accepted

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

1 day ago | 0

| accepted

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

1 day ago | 0

| accepted

Answered
why my graph is blank ?
./

1 day 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)

1 day 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'* .

1 day ago | 0

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

2 days 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 days ago | 0

| accepted

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

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

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

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

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

2 days ago | 0

| accepted

Answered
A year containing a date or not
strcmp(string(datetime(2050,30,1,'format','eeee')),"Sunday")

3 days ago | 0

Answered
extracting values above 0 in an array and putting them in a new array
matrix(matrix <= 0) = inf; Wanted = min(matrix)

3 days ago | 0

Answered
how to find max to min of colum value and display with rows
ROM = [device(1:size(block,1)).', sortrows(block, 2, 'descend')]

3 days ago | 0

Load more