Community Profile

photo

shane watson


19 total contributions since 2017

shane watson's Badges

  • Thankful Level 2
  • Solver

View details...

Contributions in
View by

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

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

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

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

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

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

4 months ago | 1 answer | 0

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

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

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

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

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

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

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

3 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 ?????

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

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

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

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

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

3 years ago | 1 answer | 0

1

answer