photo

Mahmoud Chawki


Last seen: environ un an il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

MATLAB Answers

17 Questions
1 Réponse

RANG
91 320
of 300 381

RÉPUTATION
0

CONTRIBUTIONS
17 Questions
1 Réponse

ACCEPTATION DE VOS RÉPONSES
35.29%

VOTES REÇUS
0

RANG
 of 20 941

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 168 477

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 3
  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


the loop is not terminated it keeps on going
clear variables close all clc A = [1 1 2; 1 2 4; 1 2 5]; x = [1; 2; 3]; Error = 0.000001; Diff = ones(size(x)); iterCoun...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


the loop is not converging it is giving me an infinite value(it is increasing)
clear variables close all clc A = [1 1 2; 1 2 4; 1 2 5]; x = [1; 2; 3]; Error = 0.00001; Diff= 1; while Diff>Erro...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


vector that displays [0 5 10 15]
i want a for loops that displays the following vector [0 5 10 15]

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How can i display a vector on Matlab that does the follwing
I want the vector to go from 0 to 15 while stepping 5 the vector should output shoulb be [0 5 10 15]

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


i need a for loop that outputs certain numbers
i want a loop that does the following: first it gives me the 2 numbers which are 1 and 2 then it loops again and gives me the ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
i want a good syntax form
yes i know but how can i store what im extracting without having to assign them each time manually

plus de 3 ans il y a | 0

Question


i want to extract a matrix from a cell array that consists on a number of 3x3 matrices
i want to extract a matrix from a cell array that consists on a number of 3x3 matrices clc clear all %Given lamina unidirecto...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


i want a good syntax form
s is matrix that has 6 rows and Qbar is an array that contains n number of matrices matrices s(1,:)*Qbar{1} s(2,:)*Qbar{1}...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


i want to extract rows from a matrix
i have a matrix that the number of rows are always even. i want a code that extracts 2 rows and put them together for example:...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


the rows are not saving
for i=1:size(strain,1) if i ~=1 && i~=size(strain,1) rss=strain(i,:) ff=repelem(rss,[2],[1]) ...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

Question


substract an element from previous element in a matrix
i have a k vector that contains 5 elements. i want to write a code that substract - the second element from first ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


i want to translate this vector to a formal syntax that i can use always
clc clear all n=4; t=0.25; h=n*t for i=1:n+1 if i==1 k(i)=-h/2; else k(i)=-h/2+(...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


i am getting this error "Brace indexing is not supported for variables of this type" at line which contains (S_bar{i}=R{i}*T_1{i}*R_1{i}*S{i}*T{i});.
sigma1=0.002; sigma2=-0.003; tau_12=0.004; E1=181; E2=10.3; mu_12=0.28; G12=7.17; tetha=0:90; c=cosd(tetha); s=sind(t...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


When i run the blow code, the loop gets stuck on the underline line and it says that the indices on the left are not compatible with the indices on the right.
clc clear all sigma1=0.002; sigma2=-0.003; tau_12=0.004; E1=181; E2=10.3; mu_12=0.28; G12=7.17; tetha=1:90; for i=1:90...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


I want my graph to be continuous
i want the graph to be continous. However, it is breaking form point 7 to 8 (t=7 to t=8). as you can see from the function, at ...

environ 4 ans il y a | 3 réponses | 0

3

réponses

Question


i want to transform this into a function
this is the algorith Q1=q(2); Q2=q(3)-q(2); Q3=q(4)-q(3); Q4=q(5)-q(4); Q5=q(6)-q(5); Q6=q(7)-q(6); Q(n)=q(n+1)-q(n); h...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


i want to obtain a vector that each element is subtract from the previous one
if i have values q={3 6 8 10 12 15 16} and i want to obtain a vector that gives me: k={3 3 2 2 2 3 1} K(ii)=q(ii)-q(ii-1) h...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


i'm getting an error that inputs should be scaler on "t=linspace(0,t_flight,30);"
v0=app.InitialvelocityEditField.Value; y0=app.InitialheightEditField.Value; theta=app.Initialan...

plus de 4 ans il y a | 1 réponse | 0

0

réponse