Community Profile

photo

madhan ravi


Last seen: 1 day ago
4,535 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
Change data type of entire cell array?
cellfun(@(x) sscanf(x, '%d').', Cell_array, 'un', 0)

6 days ago | 0

Answered
How do I make a function with 2 parameters?
Man muss einfach versuchen. doc function

6 days ago | 0

Answered
Delete specific numbers from cell array
p2 = [1, 2; 0, 1] p3 = num2cell(p2, 1); Wanted = cellfun(@nonzeros, p3, 'un', 0)

7 days ago | 1

Answered
Matrix multiplication error using '.*'
t = linspace(0, 1, 66);

8 days ago | 0

Answered
Assign Values into a matrix (DG)
matrix(:, 1) = linspace(matrix(1, 1), 0, size(matrix, 1)); matrix(:, end) = linspace(matrix(1, end), 0, size(matrix, 1))

9 days ago | 0

Answered
how do i print only the last answer in a for loop
c(k,j) = (c(k+1, j-1) - c(k,j-1))/(x(k+j-1)-x(k)); %<- semicolon

11 days ago | 0

Answered
Need help starting this code!!! Arrays
https://www.mathworks.com/matlabcentral/answers/213823-forward-backward-and-central-differences

11 days ago | 0

Answered
Plot Function With Continuosly
doc piecewise

13 days ago | 0

| accepted

Answered
std function won't execute
You have a file named std.m , rename it or remove it from the path.

13 days ago | 0

Answered
How do I write this function
y=(cosd(35)-secd(35)^2)/tand(70)

16 days ago | 1

| accepted

Answered
Output Jacobian function is not matrix
What you have is a SYMBOLIC matrix.

16 days ago | 0

Answered
How to count the number of letter case changes in a string array
c = 'hfeHDdheD'; nnz(diff(ismember(c, 'A':'Z')))

17 days ago | 1

Answered
Filter rows based on presence of string
Wanted = ismember(vector, 'male')

17 days ago | 0

Answered
creating multiple values of the same x,y,z
doc repmat

17 days ago | 0

Answered
How to get the time when a variabile reaches the maximum value?
doc max

17 days ago | 0

| accepted

Answered
substiton of a variable in a equation
subs(equation, x, x1)

17 days ago | 0

| accepted

Answered
Counting the Size of X Indices of a Matrix
Naming variables is a bad idea Dimensions = num2cell(size(rand(2,3,4))) % simply use a cell array celldisp(Dimensions)

19 days ago | 0

| accepted

Answered
I'm getting a confusing error message.
Remove first two lines. Name of the file and function should be the same. help function

19 days ago | 0

Answered
How do I create dummy variables with if statements?
X = R > 0

19 days ago | 0

Answered
can anyone help me solve these two questions please?
help fibonacci

19 days ago | 0

Answered
Given an array of co-ordinates, for each value of x, how do I extract the smallest value of y?
x = [1; 1; 1; 2; 2; 3; 3; 3]; y = [1; 2; 3; 3; 2; 1; 2; 3]; T = array2table([x, y], 'VariableNames', {'x', 'y'}); T1 = groups...

19 days ago | 1

Answered
How to remove zeroes not defined by indices
Wanted = zeros(numel(nonzeros(A)) + numel(B), 1); Wanted(setdiff(1 : numel(Wanted), B)) = nonzeros(A)

19 days ago | 0

| accepted

Answered
Multiplying sine wave with step function
uu = @(nn) +(nn >= 0); xxuu = xx .* uu(t)

20 days ago | 1

Answered
I'm getting Not enough input arguments
Your last line should be before the function

20 days ago | 0

Answered
How can I remove negative values from vector (Half-Wave Rectification)
vector = [1, -1]; vector( vector < 0 ) = 0 % [] to remove

21 days ago | 0

Answered
x(t) = 2 cos(200πt + 10o )
<https://www.mathworks.com/help/signal/gs/waveform-generation-time-vectors-and-sinusoids-1.html>

22 days ago | 0

Answered
Finding indices of certain values
find(all(A == 0, 2))

24 days ago | 0

| accepted

Answered
Combine Text and number in a matrixs
Wanted = {'A' 'B' 'C' 'D' 2 3 4 5 ...

24 days ago | 0

Answered
Find row elements of a table in another table
help ismember % 'row' option

26 days ago | 0

| accepted

Answered
Replacing all values of a with b in a matrix?
What do you expect == is a logical operator, when not used in symbolic calculations if you just want to assign it, then simply u...

26 days ago | 0

| accepted

Load more