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

16 jours ago | 3 answers | 0

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

17 jours ago | 1 answer | 0

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

19 jours ago | 1 answer | 0

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

21 jours ago | 1 answer | 0

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

21 jours ago | 0 answers | 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...

22 jours ago | 1 answer | 0

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

22 jours ago | 0 answers | 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...

23 jours ago | 0 answers | 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...

23 jours ago | 1 answer | 0

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

23 jours ago | 1 answer | 0

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

23 jours ago | 1 answer | 0

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 mois ago | 1 answer | 0

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 mois ago | 3 answers | 0

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 mois ago | 1 answer | 0

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 mois ago | 1 answer | 0

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 mois ago | 1 answer | 0

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 mois ago | 1 answer | 0

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 mois ago | 1 answer | 0

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

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 mois 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 mois ago | 2 answers | 0

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

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

environ un an ago | 0

Question

I am trying to plot error bar in each bar plot however, I can not. I attached to the plot the code. I also attached a the figure that I wanna do the same.

I attached the files

environ un an ago | 1 answer | 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...

environ un an ago | 2 answers | 0

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

environ un an ago | 1 answer | 0