Community Profile

photo

madhan ravi


Last seen: Today
3,920 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
A year containing a date or not
strcmp(string(datetime(2050,30,1,'format','eeee')),"Sunday")

3 hours 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 hours 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 hours ago | 0

Answered
Create custom matrix with user-defined parameters
x = 4 ; y = 3 ; [ X, Y ] = meshgrid( 1 : x, 1 : y ) ; Alternator = repmat( ( - 1 ) .^ ( 1 : numel( X ) ).', 1, 2) ; z = [ X(...

6 hours ago | 0

| accepted

Answered
fft 함수에 의한 필터링
F = ... some values dt = ... n = ... index1=round(F*dt*n+1) index2=round(n-F*dt*n+1)

7 hours ago | 0

Answered
Unrecognized function or variable 'gaussf'.
There's no function named gaussf , you need to contact the author of the file.

7 hours ago | 0

Answered
how to find max of a column and run it in a loop
C = sortrows(block, 2, 'descend') %?

8 hours ago | 0

| accepted

Answered
Repeat a string in multiple cells at once within an array
clear data curString = {'value'} data(1:5,1) = curString

8 hours ago | 0

Answered
how to give column header name
BLOCK = table; BLOCK.channeL = block(:, 1); BLOCK.quality = block(:, 2)

8 hours ago | 0

| accepted

Answered
what can I do to VetorN always be an even number.
Increment with 2 from 2. doc colon

15 hours ago | 0

| accepted

Answered
how to plot a unit step function in MATLAB using syms command and create signum function first
<https://www.mathworks.com/help/symbolic/heaviside.html>

16 hours ago | 0

Answered
strcmp for a part of the world
Use contains()

16 hours ago | 0

| accepted

Answered
compressing a code, help me
VetorN = fix( (20 * sqrt(2) .^ (0 : 5) ) ) MD0 = VetorN * 3; MD0(end - 1) = [ ]

17 hours ago | 0

| accepted

Answered
Plotting in a 3D space
r = num2cell(r); plot3(r{:}, '*')

17 hours ago | 0

Answered
problem with the sum function
norma2 = sqrt(sum(X.^2))

18 hours ago | 0

| accepted

Answered
How to make multiple strings arrays of repeating word and number?
n = 18; "var" + (1:n)

19 hours ago | 0

| accepted

Answered
How do you graph data from a table that is in a cell array ?
TaBlE = table; TaBlE.a = rand(10); plot(TaBlE.a)

19 hours ago | 0

Answered
How to merge two arrays/rearrange two table colums one by one
AB = reshape([A; B], 1, [])

19 hours ago | 1

| accepted

Answered
Month as a two digit number
ix = m < 10 % m is the output of the month(...) , by the way it can be set by Format in datetime(...) M = "" + m M(ix) =...

22 hours ago | 0

Answered
Split a string in this way
strsplit(STRING,'_') %or regexp(STRING, '\_', 'split')

23 hours ago | 0

Answered
Unrecognized function or variable 'length' ???
length(Uu) = len1; % naming a variable length is a terrible idea!!! clear length

23 hours ago | 1

| accepted

Answered
livescript: move to next section
You could select that particular section and press ctrl/cmd + enter to run it.

23 hours ago | 0

Answered
select a subset of images according to the "image name list.txt" that matches a "1" in the "ground truth list.txt"
c = "image name 1.txt" c1 = "ground truth 1.txt" C = c(regexp(c, '\d*', 'match') == regexp(c1, '\d*', 'match'))

1 day ago | 0

Answered
MATLAB Answers Wish-list #5 (and bug reports)
Pressing ctrl/cmd + k brings up the hyper link dialog box , but why does it make the traget url empty and the display text with ...

1 day ago | 0

Answered
Concatenate two cell colums with different length, in Variables window it is possible while horzcat gives "not consistent" error.
c = {a, b} %? if this doesn't do what you want , you need to illustrate with an expected result.

1 day ago | 0

Answered
Matrix with elements as polynomial
ROOTS = cell(numel(X), 1); for k = 1:numel(X) ROOTS{k} = roots(sym2poly(X(k))); end celldisp(ROOTS)

1 day ago | 2

| accepted

Answered
Solve symbolic equation - answer gives equation, not number
double(sol_x)

1 day ago | 0

| accepted

Answered
how to create an array of all permutations
doc randperm

1 day ago | 0

Answered
How to plot data from a table that is in a cell array?
use *hold on*

1 day ago | 0

Load more