Question

how can i connect separate lines together in a plot?

how can i connect the red lines together and the purple lines together. FYI the have two seperate equations i would like a ...

28 days ago | 0 answers | 0

Question

i need to compare a matrix with a static table

X= [11.9000 10.3000 9.5000 10.3000 8.7000 9.5000 9.5000 7.9000 9.5000 11.1000 9...

30 days ago | 2 answers | 0

Question

i need to switch all integers in my array to positive numbers

A= [ 12 -16 -7 ] answer= [ 12 16 7] i need a function that converts all negative integers to positive integers

1 month ago | 1 answer | 0

Question

add numbers to an array correspondingly

A= [ 6 10 14 ] B= 0.0152 0.0134 0.0120 0.0121 0.0109 0.0100 0.0089 0.0084 0.0079...

1 month ago | 2 answers | 0

Question

i have a function that should work but doesn't

i'm comparing two arrays and choosing the repeated numbers and then rearranging the new output in descending order Y1 = [...

1 month ago | 1 answer | 0

Question

colebrook iterative equation in a for loop

DoM = [0.7620 0.8128 0.8636 0.9144 0.9652 1.0160 1.0668 1.1176 1.1684 1.2192] Re= [319130 29918...

2 months ago | 1 answer | 0

Question

i need to subtract two arrays of different sizes

A= 10 15 20 25 11 12 17 16 12 11 17 19 B= 5 4 3 C=A-B i need the first row in A with the first element i...

2 months ago | 2 answers | 0

Question

how to compare an array to a table

i have an array(A) and i want to cross refrence it to an external table that is not inputed on matlab yet. A= 10.3000 9...

3 months ago | 1 answer | 0

Question

how to compare two arrays

A=[ 9.9090 8.3211 9.5763 9.7926 8.2055 9.4335 9.3428 7.7533 8.8443] COMPARED TO B=[ 7.9 9.5 9.5 8.7 10...

3 months ago | 1 answer | 0

Question

how can i rearrange the format of my array

i have a double class array my array looks like this HlossN = 459.3027 459.3036 459.3045 459.3053 459.3061 459.3076...

3 months ago | 0 answers | 0

Question

I NEED TO DIVED TWO ARRAYS OF DIFFERENT SIZES

i have two arrays F and R problem is that F has a size of (1 x 10) and R has a size of (1 x 9) i need to shift the division ...

3 months ago | 2 answers | 0

Question

i have a question that works backwards

I have a set of values for F and a set of values for D. When F and D are divided together they give a ratio that I have the ans...

3 months ago | 1 answer | 0

Question

comparing two separate for loops

i have two seperate for loops i need to compare them to display what is repeated ONLY in the both of them ex. Z = 0.002...

3 months ago | 1 answer | 0

Question

i need to delete a zero from a single row 10 column vector

how can i delete this first 0 1.0e+03 * 0 1.0794 0.9376 0.8301 0.7477 0.6838 0.5939 0.5366 ...

3 months ago | 3 answers | 0

Question

i need an if condition that analyzes data from a for loop

how can i express an if condition inside a for loop that expells numbers that are greater than a static number let's say 50 so...

3 months ago | 1 answer | 0

Question

how can i turn the results from a column into a row

i have a for loop the calculates for X n number of times the answers i get are in this format X=1 x=2 x=3 x=4 x=5 i w...

3 months ago | 1 answer | 0

Question

how can i reject numbers or choose numbers within a specified range

i have an equation the gives me around 10 numbers as a result ex. z=[1 2 3 4 5 6 7 8 9 10] A= whatever + z A= 20 A=30 A...

3 months ago | 0 answers | 0

Question

i need to compare two arrays

hello, i have a matrix of size (3 x 4 ) and i need to compare each column with a seperate row respectively. this may seem confu...

4 months ago | 1 answer | 0