Feeds
답변 있음
how to form loop to jump from one element of matrix to other element.
Does this do what you want ? N_temp_failure= [ 938 945 955 2002 2003 4565 4566 4567 ]; for ii=1:size(N_temp_failure,...
how to form loop to jump from one element of matrix to other element.
Does this do what you want ? N_temp_failure= [ 938 945 955 2002 2003 4565 4566 4567 ]; for ii=1:size(N_temp_failure,...
대략 10년 전 | 0
질문
Plotting points and lines
Hello I would like to plot these edges and figures as shown in these images. I am able to do it manually using gplot using t...
대략 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to set multiple values at the same time from a vector?
This is one way I could think of , but maybe there is an easier way v=[1,2,3]; vv=num2cell(v); [a,b,c]=deal(vv{:});
How to set multiple values at the same time from a vector?
This is one way I could think of , but maybe there is an easier way v=[1,2,3]; vv=num2cell(v); [a,b,c]=deal(vv{:});
대략 10년 전 | 0
| 수락됨
답변 있음
How to use for Loop and if statement to construct a Pythagorean triple function?
You need to change pyth to Pyth.
How to use for Loop and if statement to construct a Pythagorean triple function?
You need to change pyth to Pyth.
대략 10년 전 | 0
답변 있음
help how can I find the minimum number and return it's index in each row?
a=[8,2,3,4,5]; [b,ix]=min(a); ix gives you the positions and b gives the minimum value
help how can I find the minimum number and return it's index in each row?
a=[8,2,3,4,5]; [b,ix]=min(a); ix gives you the positions and b gives the minimum value
대략 10년 전 | 0
| 수락됨
질문
Sorting to have continuous non negative values next to diagonal of square matrix
Hello I have a square matrices of different sizes. I want to reorder the rows of the matrix in such a way that I get the maxi...
대략 10년 전 | 답변 수: 3 | 2
3
답변문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
대략 10년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
대략 10년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
대략 10년 전
답변 있음
Error: Inner Matrix dimensions must agree
Try using the dot operator for b and F as well b=c_2./(2*a); F=(r*mg*L.*cos(theta))./(b.*a.*sin(gamma+theta));
Error: Inner Matrix dimensions must agree
Try using the dot operator for b and F as well b=c_2./(2*a); F=(r*mg*L.*cos(theta))./(b.*a.*sin(gamma+theta));
대략 10년 전 | 0
| 수락됨
질문
Find if two numbers occurs in the same sequence
Hello I would like to know how to determine if numbers occur in the same sequence. [3 1 5 0 0 1 2 5 0 0 1 3 4 1...
대략 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
Producing different output files by entering an input array
temperature=(10:10:100); equation=zeros(size(temperature)); for i=1: length(temperature) equation(i)=temperat...
Producing different output files by entering an input array
temperature=(10:10:100); equation=zeros(size(temperature)); for i=1: length(temperature) equation(i)=temperat...
10년 초과 전 | 0
답변 있음
In an assignment A(I) = B, the number of elements in B and I must be the same.
In x(10), you have assigned two values which is not possible. It can accept only one value. You are trying to assign two values ...
In an assignment A(I) = B, the number of elements in B and I must be the same.
In x(10), you have assigned two values which is not possible. It can accept only one value. You are trying to assign two values ...
10년 초과 전 | 0
질문
Optimization/ Error minimization to reach target
Hello I have a problem where in I calculate Ratio_final which is a column vector. I also have column vector Ratio_target whic...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
permutation without replacement matrix
I would like to find out the number of possibilities when drawing k balls from an urn with n balls: k=6; n=12 This is of the...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
Random Matrix to even matrix
I have a column matrix with numbers a=[0 1 2 3 4 5] and I want to get matrix b=[0 0 2 2 4 4] Basically all the numbe...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
building a matrix with conditions for rows and columns
I want to build a matrix in the following manner Enter number of switching elements – “k” Enter number of coupling edges- ...
10년 초과 전 | 답변 수: 0 | 0