photo

Olayinka


Last seen: 18 jours il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

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

Afficher les badges

Feeds

Afficher par

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 mois il y a | 1 réponse | 0

1

réponse

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 mois il y a | 3 réponses | 0

3

réponses

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 mois il y a | 2 réponses | 0

2

réponses