Community Profile

photo

madhan ravi


2,892 2018 年以降の合計貢献数

Communication through MATLAB is always better than arguing.

madhan ravi's バッジ

  • 6 Month Streak
  • Ace
  • Thankful Level 3
  • Knowledgeable Level 4
  • Promoter
  • Commenter
  • Revival Level 3
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Double integration within finite limits
Simply use *integral2()*

約1時間 前 | 0

回答済み
How to create an Array of vectors ??
Use a cell array as Stephen suggests: v1=1:3; v2=2:9; v3=2; A={v1;v2;v3}

約3時間 前 | 0

回答済み
How to add two different set values .
A={4,5,3}; B={12}; [A{:}]+[B{:}]

約9時間 前 | 0

回答済み
Undefined function or variable 'imtile'. is ti belongs to any toolbox?
<https://in.mathworks.com/help/matlab/ref/imtile.html> - *released in 2018b*

約9時間 前 | 0

回答済み
Input function does not display the command in command window
Looks like you have made a file named *input.m* remove it from the path or rename it.

約9時間 前 | 0

| 採用済み

回答済み
Collecting the outputs of a function within a for loop
time = 100; [A,B,C,D]=deal(cell(100,1)); % if the outputs are scalars then use zeros() instead of cell for ii=1:time [A{i...

約19時間 前 | 0

回答済み
How do I create a unit vector with multiple rows
[14:16;12:14]

約21時間 前 | 1

| 採用済み

回答済み
Extracting intervals from an array to create a new array
sum(reshape(array,[],5),2)

約21時間 前 | 0

回答済み
Undefined function 'synchronize' for input arguments of type 'double'
https://in.mathworks.com/help/matlab/ref/timetable.synchronize.html#bvdhiyk_seealso - released in 2016b

約21時間 前 | 0

回答済み
Indexing arrays to a new array
Use basic indexing: Array1(4:8)

1日 前 | 0

| 採用済み

回答済み
How to find out whether there is a repetitive element in the columns of a matrix?
Repetitions_in_columns=true(size(a,2),1); for k = 1:size(a,2) Repetitions_in_columns(k)=any(sum(a(:,k)==unique(a(:,k)).')>...

1日 前 | 1

| 採用済み

回答済み
How to Customize Sigma in subexpr()?
subs(eqn2,sigma,k1+k2)

1日 前 | 1

| 採用済み

回答済み
matrix must agree how do i fix this
N has 13 values and theta has 7 values they should have same number of elements , you maybe interested in using linspace() for t...

1日 前 | 0

| 採用済み

回答済み
how to change every value not equal to X in every rows
Wanted = zeros(size(matrix)); indices=sub2ind(size(matrix),1:size(matrix,1),Vector); Wanted(indices)=matrix(indices)

1日 前 | 0

| 採用済み

回答済み
How do I restore a function I accidentally overrode (heaviside function)?
Simple *move* your custom made function from the path or *rename your function to some other name*.

1日 前 | 0

回答済み
Problem using a counter in a for loop
Dg = 150;%mg Vd = 50;%L ka = 1.6;%h^-1 ke = 0.4;%h-1 t=1:0.1:24; C=zeros(size(t)); for k=1:numel(t) % loop f...

1日 前 | 0

回答済み
Array of same characters using any method (via loop method or any method)
Use *repelem()* or *repmat()*

1日 前 | 0

回答済み
how to create a text file ?
*dlmwrite()* you will find similar functions in the documentations.

2日 前 | 0

回答済み
how to average data /6 rows ?
mean(reshape(data,6,[]))

2日 前 | 0

回答済み
Concatenate a column of cells into a single array
cell2mat(X)

3日 前 | 0

| 採用済み

回答済み
Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.
Note: Don't name your function set() will shadow the in-built function set(). sol=fsolve(@set1,[1,-1]) function F=set1(x) V...

3日 前 | 0

| 採用済み

回答済み
Find index of a matrix of values into another matrix
Indices = cell(numel(A),1); for k = 1:numel(A) Indices{k} = find(B(k,:)==A(k)); end %celldisp(Indices) % Indices{1} rep...

3日 前 | 0

| 採用済み

回答済み
How do I get the mean of always 4 columns
AA=permute(reshape(A.',4,1,[]),[2,1,3]); % where A is size 527040 X 16 AAA=squeeze(mean(AA)); % if you want to reshape it as ...

3日 前 | 0

| 採用済み

回答済み
How to sum spesific numbers in an array?
A=[1 2 1 1 0 2 2 0 0 2 1 0 2 1 1 0 0]; y = cumsum(A==0 | [true,A(1:end-1)==0]); B = accumarray(y(:),A(:)).' C=nonzeros(B).' ...

3日 前 | 0

| 採用済み

回答済み
how many times specific number repeated in cell
Note: You have a mistake in your desired result 11 appears once. v=[B{:}]; % assuming each contents of B is a vector if not mak...

3日 前 | 0

| 採用済み

回答済み
Convert integrand to a function in a loop
<https://in.mathworks.com/matlabcentral/answers/456430-convert-integrand-to-a-function-in-a-loop#comment_694182>

3日 前 | 0

| 採用済み

回答済み
create matrix from string name
<https://in.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval> - use cell o...

3日 前 | 0

回答済み
Creating new matrix from existing matrix
matrix(2:end,2:end)

3日 前 | 2

| 採用済み

回答済み
select specific row in a matrix
B(ismember(B(:,1),A),:)

3日 前 | 0

| 採用済み

Load more