photo

shane watson


Last seen: 6 mesi fa Attivo dal 2017

Followers: 0   Following: 0

Statistica

All
  • Thankful Level 3
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


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

8 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

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

oltre 4 anni fa | 0

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 5 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 7 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Risolto


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

oltre 7 anni fa

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta