Community Profile

photo

madhan ravi


Last seen: Today
4.553 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
Evaluation of Integration without Loops
help trapz

4 giorni ago | 0

Answered
How to produce line plot yline for matlab R2018a
Start = 0; % sorry I completely misinterpreted the question xD End = 1; Point = 260; plot(linspace(Start, End, 1e2), repelem(...

12 giorni ago | 0

| accepted

Answered
How to produce line plot yline for matlab R2018a
Funny thing , i did a file exchange a while ago for passing time, not the efficient one but gets the job done ;) https://www.ma...

12 giorni ago | 0

Answered
plotting multiple values of a parameter on same figure
Amplitude = rand(5, 1); hold on for k = 1 : numel(Amplitude) % this is an example of having different amplitudes, follow thi...

12 giorni ago | 0

| accepted

Answered
how to continuously loop until a condition is met?
value = % calculate mode; while 1 if ((value <= 4e2) && (value <= 1e3)) break else % value = calcul...

12 giorni ago | 0

Answered
Warning: Matrix is singular to working precision.
% Black Scholes Vanna % Steven Semeraro sigma = ones(100, 100) * 0.2; stock = ones(100, 100) * 50; x = 1:100; y = ...

18 giorni ago | 0

Answered
Error while vectorizing my code
terms = 1 ./ (n( : ) .^ x) % < 2016b 1 ./ bsxfun(@power, n( : ), x)

21 giorni ago | 1

Answered
'summary' function for a cell
help cell2table

29 giorni ago | 0

| accepted

Answered
Matlab, automatically delete the index variable after the execution of a loop, Part 2
That is the simpler way.

29 giorni ago | 1

| accepted

Answered
How do I create a matrix from from the answers of each iteration of a for loop?
N = 4; yn = cos(pi * ( 0 : N ) / N); yp = cos(pi * ( 0 : N ) / N); yp = reshape(yp, 1, 1, []); bottom = squeeze(1 ./ (yn - y...

circa un mese ago | 0

| accepted

Answered
Output of previous command into input
If those variables are in the workspace, it should run without any problems. Ca1 = ...; Ca2 = ...; Ca3 = ...; Ca4 = ...; Cb...

circa un mese ago | 0

| accepted

Answered
creating new variable using for loop and if-else condition
age = 1 : 40; % you were almost close, note: it could be done without loops [new_age_group1, new_age_group2] = deal(cell(40, 1)...

circa un mese ago | 0

| accepted

Answered
Can one substitute string values in a matrix?
dum = strings(height(T), 1); % you could also use repmat or repelem to do it in one line dum(:) = "January";

circa un mese ago | 0

| accepted

Answered
What is this block called and where can I find it?
https://www.mathworks.com/help/simulink/slref/integrator.html

circa un mese ago | 0

| accepted

Answered
How do i save values in a loop to vectors?
V = cell(2, 1); % an example on how to store for l = 1 : 2 V{l} = rand(2, 1); end celldisp(V)

circa un mese ago | 0

| accepted

Answered
Question here Matlab basics,
c * (c + d) % MATLAB doesn’t have implicit multiplication

circa un mese ago | 0

| accepted

Answered
Matlab program to plot y(t) graph
doc plot doc fplot

circa 2 mesi ago | 0

Answered
if statement find criteria not doing what I want it to do
neqchek = @(k) subsasgn(k, substruct('()', {k(1) == 1}), 10); out = neqchek([1 : 2, 1])

circa 2 mesi ago | 0

Answered
Change data type of entire cell array?
cellfun(@(x) sscanf(x, '%d').', Cell_array, 'un', 0)

circa 2 mesi ago | 0

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

circa 2 mesi ago | 0

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

circa 2 mesi ago | 1

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

2 mesi 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))

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

2 mesi ago | 0

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

2 mesi ago | 0

Answered
Plot Function With Continuosly
doc piecewise

2 mesi ago | 0

| accepted

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

2 mesi ago | 0

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

2 mesi ago | 1

| accepted

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

2 mesi ago | 0

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

2 mesi ago | 1

Load more