photo

Olayinka


Last seen: 18 days ago Active since 2023

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Commenter
  • CUP Challenge Master
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Question


How do I break an array into individual element without using loops
x=[3,4,5,6,7,8,9,10] for i=1:length(x) y=x(i) end I want a function to give me this result without using a loop

7 months ago | 1 answer | 0

1

answer

Question


How to save the result of each loop separately
I want to create two variables which are matrices is zeros(3,2) and zeros(4,2) y = [3 4]; for i=1:length(y) x=zeros(y(i)...

8 months ago | 3 answers | 0

3

answers

Question


How do I form a matrix from an array of rows and columns
A=ones(10) a=[1 3 5 6 9] b=[1 2 4 7 9] A(a,b)=0 should provide A(1,1)=0 A(3,2)=0 A(5,4)=0 A(6,7)=0 A(9,9)=0

8 months ago | 2 answers | 0

2

answers