Community Profile

photo

omar mahallawy


Last seen: 10 Monate vor Aktiv seit 2018

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


how to display / recall data in matlab
i have such a long code that is really hard to reverse engineer for what i need. i just need a code that would display which va...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how can i delete an empty matrix
i used a function that would delete columns with any negative elements in them i had 9 columns now i'm left with 6 columns pr...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to reject whole columns based on a condition
A = [5 10 18 13 -2 8 -9 10 40 47 85 -30] condiotion : remove columns with any ...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how should i subtract two matrices
i need to subtrabt the first row B with the first number A A=[ 6 12 15] B=[50 70 80 90 20 50 40 30 ...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to compare elements in an array respectively
i have a static array and 13 variable arrays, each array is the same in terms of size, but now i need to know how can i compare ...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how can i shrink my plot to fit into a given range on the x axis
hello, i needed to know if there is a way were i can shrink my plot. i have a graph that repeats its self (n) number of times d...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


i need to know why is the scale of the x-axis on my graphs differ from one another.
i have 3 graphs, x-axis should stop at 3.2*10^5 two of my graphs are correct but the first one is doubled for some reason. th...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


i just need to know how can i extract the columns based on a condition
the condition is (if the first value in the column is less than or equal to a certain number then extract the whole column) 1...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
hello i need an if function that tells matlab to reject a certain value and continue to the next one under a condition
no, sir the first value in each column, if the first value in each column is more than MaxHead then skip the whole row and move...

etwa 5 Jahre vor | 0

Frage


hello i need an if function that tells matlab to reject a certain value and continue to the next one under a condition
for example if TEL = 1.0e+04 * 2.2786 1.7122 1.3066 1.0110 0.7922 0.6278 0.5027 0.4063 0.2723...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


hello, i need to plot a graph (n) number of times with an offset of a known number between each line on the graph, note all the lnes should be parallel on the same graph but repeated
clear,clc,clf format short Q=3.3; %gamma=8.43 kN/m3 = 859.62076503 Kg/m3 (*1000/9.81) rouh=859.62076503; g=9.81; Gamma=(ro...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


if function error, here i want MatLab to find the values of V5L that are between 1 and 4.5 and name it V, and use it in another upcoming equation
clear,clc,clf Q=3.3; D5L=[12.75*0.0254 14*0.0254 16*0.0254 18*0.0254 20*0.0254 22*0.0254 24*0.0254 26*0.0254 28*0.0254 30*0.02...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how can i round up all my numbers in this matrix (to make it look like the bottom line)
19.921920682316983 15.607883029893719 12.369945347943816 9.904715485705831 8.006173113714063 5.365552456501197 3.70...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


shouldn't there be two parallel lines on my plot?
clear,clc,clf format long Q=3.3; %gamma=8.43 kN/m3 = 859.62076503 Kg/m3 (*1000/9.81) rouh=859.62076503; g=9.81; Gamma=(rou...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how can i store each iteration values in a metrix to plot a straight line graph
clear,clc,clf format long Q=0.03; rouh=847; g=9.81; Gamma=(rouh.*g); Zs=0; Ze=0; L=500; Ks=(6*10.^-5); viscosity=(1.1*...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Why can't the dots on the plot be connected? I should have two parallel lines in each subplot. Instead I have unconnected dots.
clear,clc,clf format long Q=0.03; rouh=847; g=9.81; Gamma=(rouh.*g); Zs=0; Ze=0; L=500; Ks=(6*10.^-5); viscosity=(1.1*...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


guys, I don;t know how to connect the (+) signs in a matlab plot. I need two parallel lines each made of 5 points to be connected together
clear,clc,clf format long Q=0.03; rouh=847; g=9.81; Gamma=(rouh.*g); Zs=0; Ze=0; L=500; Ks=(6*10.^-5); viscosity=(1.1*...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


i have a problem connecting 5 dots together using the plot fuction. i should have two parrallel lines but i get a blank sheet
clear,clc,clf format long Q=0.03; rouh=847; g=9.81; Gamma=(rouh.*g); Zs=0; Ze=0; L=500; Ks=(6*10.^-5); viscosity=(1.1*...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


i am designing a 500m pipeline, but i'm facing a problem with my code, it can't seem to plot a straiht line graph. i know it's a bit long but this is the only way to post the question. i have a lot of columns due to the range of velocities used.
clear,clc,clf format long Q=0.03; rouh=847; g=9.81; Gamma=(rouh.*g); Zs=0; Ze=0; L=500; Ks=(6*10.^-5); viscosity=(1.1*...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


i am designing a 500m pipeline, but i'm facing a problem with my code, it can't seem to plot a graph. i know it's a bit long but this is the only way to post the question. i have a lot of columns due to the range of velocities used.
clear,clc,clf format long Q=0.03; rouh=847; g=9.81; Gamma=(rouh.*g); Zs=0; Ze=0; L=500; Ks=(6*10.^-5); viscosity=(1.1*...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort