Answered

create menu with input

I think you misunderstood me, because I would like to add (for loop , or while )to add for each index a command then store them ...

create menu with input

I think you misunderstood me, because I would like to add (for loop , or while )to add for each index a command then store them ...

26 días ago | 0

Question

Matrix dimensions must agree error in FOR loop

Hi all, I am trying to do a conditional statement inside for loop, I got a very strange error of matrix dimensions must agree ...

27 días ago | 1 answer | 0

Question

create menu with input

Hey all, I have been trying to create menu with input command, I wanna the menu displays choices as buttons in a dialog box de...

27 días ago | 2 answers | 0

Question

create a matrix from matrix with zeros elements

I have a matrix obtained A=[ 1 2 3 4;5 6 7 8;9 10 11 12; 13 14 15 16]; So I just would like to obtain another matrix but with...

alrededor de 1 mes ago | 2 answers | 0

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

4 meses ago | 0 answers | 0

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

4 meses ago | 1 answer | 0

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

4 meses ago | 1 answer | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

alrededor de 1 año 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...

alrededor de 1 año 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...

alrededor de 1 año 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 ...

más de 1 año 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

más de 1 año ago | 1 answer | 0