Community Profile

# Ali Tawfik

25 total contributions since 2018

View details...

Contributions in
View by

Question

Can not terminate execution with if/for loop
I am trying to terminate code but not working, I am using for loop, All I wanna is to break if (d) equal to the values writte...

17 days ago | 3 answers | 0

### 3

Question

find specific value from each row from matrix (Index, and number)
Hi All, I am trying to find/obtain each value is lower than specific number from each row from a matrix. However I only obtain...

18 days ago | 1 answer | 0

### 1

Question

Subscript indices must either be real positive integers or logicals with minimum and maximum values
I am trying to obtain the max and min. values from the following arrays:, however, I got the above mentioned error, any help cl...

20 days ago | 1 answer | 0

### 1

Question

Getting values from a for loop when specific condition met
I am doing a loop, and want the iteration stops when condition of x = 5 however, the code terminates before x=5 ? So any help...

22 days ago | 1 answer | 0

### 1

Question

Too many output arguments with if condition, and assume
Hi I got that error while I am using if condition with assume, so please any help. clear all; close all; clc; syms x ...

22 days ago | 0 answers | 0

### 0

Question

Extract value from Looping until or when condition is true
Hi All, I am trying to doing a loop with different values until condition met, I just do not wanna all the iteration to work...

23 days ago | 1 answer | 0

### 1

Question

Conversion to logical from sym is not possible. wanna do inequalities to syms
Hi all, I am trying to solve inequalites and then apply condition as the attachment: I understand I can not set conditi...

23 days ago | 0 answers | 0

### 0

Question

Need help please in function output
Hi I am trying to build function to obtain different results upon changing of variables So I need help please Below is the co...

24 days ago | 0 answers | 0

### 0

Question

Help in creating function , built in equation
Hi All, I am trying to build in function, including equation which is a result of another code, I understand function is a se...

24 days ago | 1 answer | 0

### 1

Question

Solving Inequalities greater than and smaller than at the same time
Hi All, I have been trying to solve the following inequalities I mean I'd like to divide the both sides by 10 then get (the ...

24 days ago | 1 answer | 0

### 1

Question

Assume and find different possible unknown variables of inequalities , Need help please
Hi All, I have inequalities, with two unkonwn variables, So How could I assume one variables with different numbers, and get...

24 days ago | 1 answer | 0

### 1

Question

For loop with subs
Hi All, I have been trying to to have three different matrix based on the values of y , z, however, it's strange, the output...

2 months ago | 1 answer | 0

### 1

Question

For loop, Subscript indices must either be real positive integers or logicals ?
Hi, I have been trying the following commands, but I could not, and got that error, (I got that error, Subscript indices must ...

2 months ago | 3 answers | 0

### 3

Question

How to specify an exact value of variable in (For Loop)
Hi all, I am doing a for loop, but I am wondering how can I extract/specify a value of x when i =2 or 3?, the x now has 3 di...

2 months ago | 1 answer | 0

### 1

Question

Set individual bar color, with specifying y axis range and show tick as well.
Hi All, I am trying to set individual bar color but I can not set it to be accurately shown. Also, I would like to specify ran...

2 months ago | 1 answer | 0

### 1

Question

How to specify limit of right y axis, and add values above bar
Hi All, I am kindly asking for help to specify limits in the right y-axis (I have been trying to use a lot of commands but n...

3 months ago | 1 answer | 0

### 1

Question

Plotting different colors of Bar graph (2016a)
Hi All, I have been trying to plot bar with different colors, I'd also like to plot yaxis with numbers, and add names in the...

3 months ago | 1 answer | 0

### 1

Question

FOR loop with subs :: NEED HELP
Hi All, I've been trying to implement a for loop to obtain different values of the following matrix (T_x_new), it's working pe...

7 months ago | 1 answer | 0

### 1

How to obtain matrix components
Hi Star, it's working, but I am not sure if the answer is correct releavant to the equations. But anyway thank you very much for...

7 months ago | 0

Question

How to obtain matrix components
Hi All, I am new to Matlab, and I'd like to obtain the following values: EL,VLT,VTL, and GLT from x=[Q11 Q12 0; Q12 Q2...

7 months ago | 2 answers | 0

### 2

Calculate error bar and plot them
@ dpb... Thanks again for your clarification. But as I already had mentioned I tried and I am not cheating.. The thing is I am ...

1 year ago | 0

Question

Calculate error bar and plot them
Hello everyone, I have been trying to calculate the error bar, and plot them to my grouped bar.. Can anyone help as I am ver...

1 year ago | 2 answers | 0