Community Profile

photo

madhan ravi


Last seen: Today
4 039 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
Converting 3D plot into surface like plot.
[DAY, HOUR] = meshgrid(Day, Hour); NUMAIRCRAFT = repmat(numAircraft, 1,numel(Day)); surf(DAY, HOUR, NUMAIRCR...

environ 3 heures ago | 0

Answered
MATLAB Answers Wish-list #5 (and bug reports)
Not mandatory but a replying feature to a specific comment would be nice.

environ 17 heures ago | 0

Answered
plot on the same figure
syms t f=3*(t^2) + 2*t - 0.5 g=2*t*(cos(t)) fplot({f,g})

environ 19 heures ago | 1

| accepted

Answered
How to delete empty rows from string arrays contained in a cell array?
Wanted = arrayfun(@(y)cellfun(@(x) x(~(x=="")), c{y},'un', 0),1:numel(c)).' % c your cell array

environ 19 heures ago | 0

| accepted

Answered
How to remove certain rows and columns in a matrix?
w = A([1,2,7,8], :) Wanted = w(:, [1,2,7,8])

environ 21 heures ago | 1

| accepted

Answered
ploting a function handle
SF=4.0; d0=1; c = 3e8; h_BS = 15; TRDistance= 20; TXPower=30; lambda = @(f) (c/(f*1e9)); PL_dB = @(f)(20*log(4*pi...

environ 22 heures ago | 0

| accepted

Answered
Generate matrix from non empty cells from another cell array
c = cell_array.'; ix = cellfun('isempty',c); w = cellfun(@flip,c(~ix),'un',0); Wanted = cat(1, w{:})

environ 22 heures ago | 0

| accepted

Answered
How to save each guess / output as an array via Newton's Method?
x = zeros(1e3, 1); x(1) = 3; for ii = 2:1e3 % Let this sucker go up to 1000. x(ii) = x(ii-1) - f(x(ii-1))/f_prime...

environ 23 heures ago | 0

Answered
handle character minus character
f = @(x) str2double(regexp(x,':','split')); t1 = num2cell(f(t1)); % where t1 & 2 are your char arrays t2 = num2cell(f(t2...

environ 23 heures ago | 0

| accepted

Answered
Filtering the contents of an array
filtered = Z(A, :)

1 jour ago | 0

| accepted

Answered
random integer condition selection
Wanted = r1(r1 > .5)

1 jour ago | 0

| accepted

Answered
Cell array string formatting
run_configurations(:,2) = num2cell(cellstr(datestr([data{ia,time_column}],'HH:MM')))

1 jour ago | 0

| accepted

Answered
Two feature vectors combining Row wise
c = zeros(size([A;B])); c(1:2:end,:) = A; c(2:2:end,:) = B

1 jour ago | 0

Answered
入力引数が不足しています。
x = 1:18 M04_FitnessFunction(x) % assuming M04_FitnessFunction is save in a separate file called M04_FitnessFunction.m doc ...

1 jour ago | 0

Answered
Multiple text file read i Matlab
for l = 1:8 fid=fopen(sprintf('E:\\ReliabilityAll\\alpha\\sub%d.txt',l)); StartLine=3; for k=1:StartLine-1 fgetl(f...

1 jour ago | 0

| accepted

Answered
Problem using solve (Symbolic Toolbox)
By the way posting a screenshot is useless , always make sure to upload the code as text so that others could run it. >> sy...

1 jour ago | 0

Answered
How to build a symbolic function based on other symbolic functions?
f4(x,y) = f1(x) + f2(y)

1 jour ago | 0

Answered
What is wrong with this code?
clear all % never name a variable step n1=1; n2=25; den = [1 6 25]; Tf =tf(n1,den); figure(1) step(Tf) ti...

1 jour ago | 0

Answered
skipping numbers in a data
n = [1, 5:5:100]

1 jour ago | 0

| accepted

Answered
Substituting Matrices in symbolic equations
At the moment it’s not possible using *subs()*. *Resource:* <https://www.mathworks.com/help/symbolic/subs.html#btqh8bz-1> ...

1 jour ago | 0

Answered
fix by the Matlab
Use cumsum() and then plot(), you need to show some effort to get further help.

1 jour ago | 0

Answered
multiplication question in 3 dim
F = (X.*Y) .* reshape(L, 1, 1, [])

1 jour ago | 2

| accepted

Answered
find the right condition for my script
pos_fermateR2 = unique(distanza((in==1) & (veloc==0)))

1 jour ago | 0

| accepted

Answered
converting array of integer to one string (character of arrays)
sprintf('%d',array)

1 jour ago | 1

Answered
Taking Absolute value of a cell arrray
clear all load NumericalFourierForce % note i haven’t seen your .mat file, shooting in the dark L = 128; % make sure the...

1 jour ago | 0

| accepted

Answered
Concatenate two cell colums with different length, in Variables window it is possible while horzcat gives "not consistent" error.
ab = {a, b}; [Val, which_one] = max([numel(a),numel(b)]); c = cell(Val, 2); c(:, 1) = a; c(1 : numel(b), 2) = b % o...

2 jours ago | 0

| accepted

Answered
Back-calculating a variable in equation to give a value of zero
% outside the loop F = cell(9:numel(depr1), 1); k = 0; % inside the loop k = k + 1; % the first line F{k} = ... res...

2 jours ago | 0

Answered
String to actual function
AVOID EVAL: X1 = randi(9, 1, 5) X2 = randi(9, 1, 5) str = 'X1+X2' H = subs(str2sym(str)) % requires symbolic toolb...

2 jours ago | 0

Answered
Displaying cells which have different sizes
for k= 1:size(Y,1) fprintf('#1 : %s GET--> %d\n', Y{k,1}, Y{k,2}) end

2 jours ago | 0

Load more