photo

shane watson


Last seen: 8 months ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Question


Error in the anonymous function
Sorry for the basic question, but a help is much appreciated. I'have following code below and I'm trying to select randomly ...

11 months ago | 1 answer | 0

1

answer

Question


Constraints used but not applied (beginner)
Hello, I'm trying to find out answer of a problem which is having equation like mentioned below, Now adding these contraints (...

3 years ago | 1 answer | 0

1

answer

Question


Finding difference of array using alternative indexes
Hello everyone, I hope you're doing, I've simple question I've array (1, 24), now I want to findout the difference and divide, ...

3 years ago | 2 answers | 0

2

answers

Question


Multiple bar graph with strange issue
Hello, I'm facing strange issue while plotting multiple bar graph I used below code, which shows an error "Error using bar (lin...

3 years ago | 0 answers | 0

0

answers

Question


Functions or classes...............
Hello everyboday. Firstly, I appologise for such a basic question, I'm doing some basic coding things, however, I'm not sure ab...

4 years ago | 2 answers | 0

2

answers

Question


Error when using (plotting) one m file data into another m file.
Hello all, Here I'm facing a problem, I have four files: file A.m, file B.m, file C.m, and file D.m. And one more file to p...

5 years ago | 1 answer | 0

1

answer

Question


Error: ()-indexing must appear last in an index expression.
Hello, I got this error, here is my code, can you help me out. for info: Uns_states is the matrix whose 1st row I'm using so I...

5 years ago | 1 answer | 0

1

answer

Answered
Matlab colors required in latex
Thanks Adam and Walter for the answer. I found this, I think it would be help ful for anyone who sees this quesiton. https://la...

5 years ago | 0

Question


Matlab colors required in latex
Hello all, I draw 3 plots using bar. Now I need to caption my figure using text highlight with color code given below, I'm wr...

5 years ago | 1 answer | 0

1

answer

Question


Stem plot with minimal spaces between lines
Hello, I'm using stem plot to show my data here is my code. However, my question is there are spaces between two stem lines, I ...

5 years ago | 1 answer | 0

1

answer

Question


Filling area with pattern
Hello all, I would like to know the how to fill the area with some pattern [CrossedLines, DiagonalLines, FDiagonalLines, Horizo...

5 years ago | 1 answer | 0

1

answer

Question


Adding transparency when filling color in plots
Hello, I have question regarding the transparency, I wanted to fill the my plots with transprent color as there are four plot...

5 years ago | 1 answer | 0

1

answer

Question


Creating Sine wave with random values
Hello All, I'm trying to introduce sine signal as false information to my system. Now presently, I have this siganl with valu...

5 years ago | 1 answer | 0

1

answer

Question


creating a table (different dimension)
I'm struggling with the table. I'm looking to draw 4*4 table with style as given below, however, I'm facing trouble with that. ...

5 years ago | 0 answers | 0

0

answers

Question


How to fill the stair plots with some color.
Hello, Below are plots (subplot) and having Figure 1 I wanted to fill these stairs (inside) same as figure 2 . I really apprec...

5 years ago | 1 answer | 1

1

answer

Question


How to control the randomness of algorithm
Currently, I'm working on algorithm (optimization), as such GA, AC are generating random values therefore, everytime when I see ...

5 years ago | 1 answer | 0

1

answer

Question


Selecting one array out of three.
I have three arrays, including A=[1 2 3 4 5 6 7 8 9 0 3 4 5 6]; B=[4 5 6 7 8 6 7 8 9 1 3 4 5 0]; C=[5 6 7 8 9 0 0 9 5 5 ...

7 years ago | 3 answers | 0

3

answers

Question


Drawing hyperbola using patch function.
I have to draw points in matlab which show trade-off (i.e, inversely relationship) for this reason I have to draw the hyperbola-...

7 years ago | 1 answer | 0

1

answer

Question


I am in trouble to set its set point values as well as its dash line values
<</matlabcentral/answers/uploaded_files/74433/Fig1.jpg>> I want to draw dash line from point 5 x-axis to point 1838 on a y-ax...

7 years ago | 0 answers | 0

0

answers

Question


I am facing problem while coding which is I have length of operation time of Appliance=[2 3 4 5 6] in hr and I want..........
I have length of operation time of appliance =[2 3 4 5 6] in hour and I want my loop to start such way that when appliance start...

8 years ago | 0 answers | 0

0

answers

Question


My code is not ending but it again starts. any one guide me??
I code a program and at then it draws some of the graphs but instead, it ends it starts again and again.Kindly tell me where I h...

8 years ago | 0 answers | 0

0

answers

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 years ago

Question


I want to compare three logics should I used && or || or any other way to do that ?????
I want to compare three logics should I used && or || or any other way to do that ?????

8 years ago | 1 answer | 0

1

answer

Question


Delay related Problem help us
I'm stuck in a problem. I have array of zeros and ones like [ 0 1 1 1 1 0 0 ] I find its location by using strfind now I want to...

8 years ago | 0 answers | 0

0

answers

Question


Bar graph related problem
I'm in a problem which is I have used the bar for a plot.I have used 7 times bar withhold on i.e plotted 7 bar in one figure but...

8 years ago | 1 answer | 0

1

answer

Question


I have matrix of 200*10 it has values between 50 and 150 I have to normalize it that is I want to see values less than one.
I know one way of doing is to divide it by max value but I want to know any other way i.e built in function of matlab or any oth...

8 years ago | 1 answer | 0

1

answer

Question


Total Number of 24 matrix (3*3) but this code show only one matrix 3*3 how to see full iteration in command window
Arr=100; POpu=3; TAppi=3; XLb=50; XUp=100; for Arr=1:Arr for i=1:3 for j=1:3 Pare(i,i)=XLb+rand(1)*(XUp-XLb); %Calculati...

8 years ago | 1 answer | 0

1

answer

Question


It is not giving me Results I don't know why?
var1=2; var2=3; if var1==var2 disp('same'); if var1>var2 disp('var1 Greater var2'); elseif var1<var2...

8 years ago | 1 answer | 0

1

answer