Community Profile

photo

Kuhinur Shukurjonov


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


How to multiple set of normally distributed data?
I developed the following code to find the multiplication of 2 sets of random variables: rng(0, 'twister'); b2=1.00; % aver...

2 years ago | 1 answer | 0

1

answer

Question


How to calculate Net present value in Matlab ?
I have cash flows and annual energy production for n=25 years: for example: FLOWS=2*ones(length(n),n) Energy=3*ones(length(n)...

3 years ago | 0 answers | 0

0

answers

Question


How to combine to identical 'for' loops with sequential varying variables ?
I have two 'for' loops: 1st loop) a1=[1 2 3 4 5]; b1=[6 7 8 9 10]; for i=1:5 c1(i)=a1(i)+b1(i) end 2nd loop) a2=[4 ...

3 years ago | 1 answer | 0

1

answer

Question


How to sum up all 1 values in the matrix until I reach a zero value in the matrix ?
I have a matrix with the size of [m n] with only 1 and 0 elements. By using a 'for'' loop I need to sum up all 1 values in each ...

3 years ago | 1 answer | 0

1

answer

Solved


Return area of square
Side of square=input=a Area=output=b

3 years ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

3 years ago

Solved


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 ...

3 years ago

Solved


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...

3 years ago

Solved


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:...

3 years ago