SALMAN KHAN
Followers: 0 Following: 0
Feeds
提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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)...
2 years 前 | 1 个回答 | 0
1
个回答提问
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, ...
3 years 前 | 1 个回答 | 0
1
个回答提问
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....
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0