Community Profile

photo

SALMAN KHAN


Last seen: 6 månader ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to check if any component of a vector/matrix is matching with any of the component of another vector?
% Let say I have two vector A and B, A = [2 3 4 1 4 9 10]; B = [2 9]; if ismember(A,B) C = 2*A; else C = 0*A; e...

ungefär ett år ago | 1 answer | 0

1

answer

Question


How to add sparse matrix to an n*n matrix
Let say; A = ones(4,4); i = [2 4]; j = [1,3]; B = sparse(i,j,[9 9]); A + B; How can I add A+B, so that the component A(2,1)...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to plot stress contour if nodal values are known (FEM)?
Hello all, I am solving a FEM Problem and I want to plot stress contours using given information. I have a nodal coordinates X, ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Animated plot using images along with a subplot of load vs disp
Hi everyone, I have few Matlab images saved as png/jpg, basically displacement contour plots (Named as A1.png, A2.png, A3.png....

mer än 2 år ago | 0 answers | 0

0

answers

Question


How to convert symbolic array into a vector
Using symbolic matlab, when I calculate values of a function f(x) it given me a symbolic array, but I want this in form of a vec...

mer än 2 år ago | 1 answer | 0

1

answer

Question


print value of i if the logical statement is TRUE
If I have to print the value of i , when the logical statement is correct, where X and Y are vertices or triangles.. anyone plea...

nästan 3 år ago | 1 answer | 0

1

answer

Question


How can I find the number of row in which the maximum value obtained for a particular column?
n = 3 B = rand(n) A = B for j = 1:length(A(1,:)) Amax = A(1,j); for i = 1:length(A(:,1)) if(A(i,j)> Amax) Ama...

mer än 3 år ago | 1 answer | 0

1

answer