Community Profile

photo

madhan ravi


Last seen: Today
4,349 2018 年以降の合計貢献数

Communication through MATLAB is always better than arguing.

madhan ravi's バッジ

  • Master
  • First Review
  • First Submission
  • Thankful Level 4
  • 12 Month Streak
  • Knowledgeable Level 4
  • Promoter
  • Commenter
  • Revival Level 3
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
How to mutiply 3 user inputs.
I = input('Number ?') I .^ 3 % ?

約12時間 前 | 0

回答済み
Column Vector Containing the Row Sums of the Elements of A
doc sum

約16時間 前 | 0

回答済み
Define a column series
t = (1:10).' %Or t(:) % from your example

約17時間 前 | 1

| 採用済み

回答済み
Writing a while loop
doc while

約17時間 前 | 0

回答済み
how to find the largest number in the first 13 number in an array?
max(reshape(array, [], 13))

約18時間 前 | 1

| 採用済み

回答済み
convert a 3D matrix to a 2D matrix
reshape(permute(val, [2, 1, 3]), size(val, 2), []).'

約20時間 前 | 0

| 採用済み

回答済み
I need help please, how can I write a program to count the number of digits of an integer the user entered ?
strlength(abs(5984) + "")

約21時間 前 | 0

| 採用済み

回答済み
How do i get the values of a 2D matrix based on column indices ?
Output = matrix(sub2ind(size(matrix), 1 : size(matrix, 1), column_indices))

約21時間 前 | 0

| 採用済み

回答済み
Reshape a multidimensional matrix
reshape(permute(matrix, [3, 2, 1]), 144, [ ])

約22時間 前 | 0

回答済み
Combining two separate arrays into singular payoff matrix
P = reshape(num2cell([A(:), B(:)], 2), [], size(A, 2)); celldisp(P)

1日 前 | 0

| 採用済み

回答済み
How do I swap the elements in the major diagonal with those in the minor diagonal?
ix1 = find(eye(size(x))); ix2 = sort(find(fliplr(eye(size(x)))), 'descend'); x([ix1, ix2]) = x([ix2, ix1])

1日 前 | 2

| 採用済み

回答済み
ode45 help!!
Just make the following changes in your code: function dx = project xdot = [xdot1; xdot2];

1日 前 | 1

回答済み
Remove single cell from matrix
_”Remove single cell from matrix“_ b(2, 2) = nan; % since matrix cannot have holes replace it with nans

1日 前 | 0

| 採用済み

回答済み
How do I create a set of random numbers with a given set of numbers? Using randi command.
a(randi(numel(a), 1, numel(a))) % for unique numbers use randperm()

2日 前 | 1

| 採用済み

回答済み
Symbolic matrix with sine and cosine to numerical values.
double(subs(T06)) %or vpa(subs(T06))

4日 前 | 1

回答済み
Matrix Dimensions must agree
HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);

4日 前 | 0

回答済み
How to plot multiple matrices?
Y = [y1(:), y2(:), y3(:)]; plot(Y)

5日 前 | 0

回答済み
Can't find the error in my code
exp^ to exp

5日 前 | 1

| 採用済み

回答済み
Adding successive cells in a columns
Assuming after sir Walter’s comment: T = TabLe{:, :}; n = numel(TabLe); t = [TabLe, nan(1, 16 - mod(n, 16))]; Wanted ...

5日 前 | 0

回答済み
function of two variables
C = cell(numel(x1)); for k = 1:numel(x1) C{k} = f(x1(k), x2(k)); % of f() is vectorised you won’t need a loop end...

5日 前 | 0

回答済み
Removing elements in one matrix with same position as those in another matrix in matlab
H(isnan(Z)) = nan

5日 前 | 0

| 採用済み

回答済み
Element-wise multiplication of a 3D matrix KxLxM by a 1D vector M
C = A .* reshape(B,1,1,[])

6日 前 | 1

| 採用済み

回答済み
Problem with using symbolic expersion in function toeplitz
Might be a bug. I didn’t have any problems with 2020a either. It’s better if you make a big report.

6日 前 | 0

| 採用済み

回答済み
How can I apply a condition on a culumn?
A = (A - 360) .* (A > 360) + (A + 360) .* (A < 0) + A .* ((A >= 0) & (A <= 360));

6日 前 | 0

回答済み
what is degeneracy of matrix A=[-1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1];
Hint: doc diag

6日 前 | 0

| 採用済み

回答済み
elemental subtraction indices of initial vector
[r, c] = find(T == myvalue)

6日 前 | 0

回答済み
Why didn't I get an error for my matrices?
<https://www.mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html>

6日 前 | 0

回答済み
I don't know how to type this in matlab.
t = 0.037 exp(t-2)^1/2 Start with MATLAB On-ramp course.

6日 前 | 0

回答済み
How to let 2 vector row to multiply by itself
m = 4; n = 7; prod(m : n)

6日 前 | 1

Load more