Community Profile

photo

Adil Saeed


Last seen: 3 months ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Answered
Colour coding for different time intervals within a plot
plot(Time_Vector(1:Cumalative_Sum_of_Impacts(1)),Source_Level(1:Cumalative_Sum_of_Impacts(1)),'b.','markersize',3) plot(Time_Ve...

3 months ago | 0

Question


Colour coding for different time intervals within a plot
I need different colours for different time intervals within my figure. so the x axis is a time vector, that is a cell of combin...

3 months ago | 1 answer | 0

1

answer

Question


How to develop a ramp up of values into a matrix
I am trying to develop a ramp up. so i have an empty matrix named SL, and im trying to assign values to it. I want the first PnC...

3 months ago | 1 answer | 0

1

answer

Question


extract all values within a if loop to be stored to be used in a figure
%Source Level if 0<i && i<=PnC(1) SL = 200; else SL = 210; end This is the relevant code...

4 months ago | 1 answer | 0

1

answer

Question


Is there a more efficient way to format my vector rather than manually change the code by hand
%Time T = 5400; INT = 900; tme = 0:INT:T; %Number of Positions and Impacts Pn = 1320; In = [30, 60, 75,...

4 months ago | 1 answer | 0

1

answer

Answered
How to create an matrix array showcasing multiples of 5 until a limit we have set
Tt = t:t:t*iter;

4 months ago | 0

| accepted

Question


Is there a more efficient way to format my vector rather than manually change the code
T = 5400; INT = 900; tme = 0:INT:T; TV = [tme(1):30:tme(2)-30, tme(2):15:tme(3)-15, tme(3):12:tme(4)-12, tm...

4 months ago | 1 answer | 0

1

answer

Question


combining different row vectors of different lengths
t1 = 30; t2 = 15; t3 = 12; t4 = 2.4; t5 = 2.1428; t6 = 2.5; v1 = 0:t1:900-t1; v2 = 900:t2:1800-t2; v3 = 1800:t3:2700-t...

4 months ago | 1 answer | 0

1

answer

Question


Formatting a vector to not include the first value
RL = [1;2;3;4;5;6;7;8;9;10]; t = 5; RL = RL + 10*log10(t); so this is an example of my code, however i do not want the last...

4 months ago | 1 answer | 0

1

answer

Question


My loop does not produce the results I want, due to coding errors
I have this code I am developing a random walks model for a mammal and analysing a receive level heard from this mammal, however...

4 months ago | 1 answer | 0

1

answer

Question


How to create an matrix array showcasing multiples of 5 until a limit we have set
t = 5 iter = 10 I want to create a matrix that looks like [5,10,15,20,25,30,35,40,45,50]. So i need to multiply t and iter, s...

5 months ago | 1 answer | 0

1

answer

Question


Running my code in a loop to make it more efficient
x0 = 0; y0 = 0; Sr = [x0 y0]; %Source coordinates SL = 220; %Source Level a = 0.25; ...

5 months ago | 1 answer | 0

1

answer

Question


convert negatives matrix values to positive to then be used in mirroring for a plot on a graph
I will start at I am modelling a flea response by an animal moving away from the source (in this case the origin at (0,0)). I ha...

5 months ago | 1 answer | 0

1

answer

Question


Finding the coordinates of a point given the gradient, distance and one set of coordinates
Hi im trying to find the coordinates of a point given the gradient (m), distance (s) and one set of coordinates (x1,y1). I have ...

5 months ago | 1 answer | 0

1

answer