# shane watson

Followers: 0 Following: 0

**Statistics**

RANK**39,180**

of 292,505

REPUTATION**1**

CONTRIBUTIONS

**26** Questions

**1** Answer

ANSWER ACCEPTANCE **
57.69%
**

VOTES RECEIVED**1**

RANK

of 19,903

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

6 months ago | 1 answer | 0

### 1

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

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

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

Filling area with pattern

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

7 years ago | 0 answers | 0

### 0

answersQuestion

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

7 years ago | 0 answers | 0

### 0

answersSolved

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

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

7 years ago | 1 answer | 0

### 1

answerQuestion

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

7 years ago | 0 answers | 0

### 0

answersQuestion

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

7 years ago | 1 answer | 0

### 1

answerQuestion

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

7 years ago | 1 answer | 0

### 1

answerQuestion

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

7 years ago | 1 answer | 0

### 1

answerQuestion

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

7 years ago | 1 answer | 0