Community Profile

photo

Ali Tawfik


28 total contributions since 2018

Ali Tawfik's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


Can not assign data for each cell with xlswrite
Hi All, I have a vector and I am trying to write the data into excel, I used xlswrite, which seems working fine, but when I tr...

29 days ago | 0 answers | 0

0

answers

Question


Repeat specific elements in vector with keeping the basic vector
Hi All, I have been trying to create a new vector based on old one, by repeating specific elements, I have been looking for ...

1 month ago | 1 answer | 0

1

answer

Question


Addition to specified elements in a vector with for loop to create a new vector
Hi all, I am trying to add to specified elements in a vector to create a new one with the new values, however, unfortunately...

1 month ago | 1 answer | 0

1

answer

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...

3 months ago | 3 answers | 0

3

answers

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...

3 months ago | 1 answer | 0

1

answer

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...

3 months ago | 1 answer | 0

1

answer

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...

4 months ago | 1 answer | 0

1

answer

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 ...

4 months ago | 0 answers | 0

0

answers

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...

4 months ago | 1 answer | 0

1

answer

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...

4 months ago | 0 answers | 0

0

answers

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...

4 months ago | 0 answers | 0

0

answers

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...

4 months ago | 1 answer | 0

1

answer

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 ...

4 months ago | 1 answer | 0

1

answer

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...

4 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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 ...

5 months ago | 3 answers | 0

3

answers

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

6 months ago | 1 answer | 0

1

answer

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...

10 months ago | 1 answer | 0

1

answer

Answered
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...

10 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...

10 months ago | 2 answers | 0

2

answers

Answered
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

2

answers

Question


Plot bar with 2 different axis
Hello, I am new to Matlab.. I wanna to plot bar with 2 different y axis... I do not understand much functions, so can any one he...

1 year ago | 1 answer | 0

1

answer