Question

Passing the values in a fixed format

I have 2 arrays Position = {"ITC""VTC""KZT"}; Direction = [0.34 0.56 0.99] abc = interpn (.. ) I have a pass these v...

3 maanden ago | 1 answer | 0

Question

How to compare the colums ( 2nd and 3rd) of 2 .csv files based on a condition

I have a program based on some functionality and the results are displayed on 2 .csv files ( file1 and file2) The files consis...

3 maanden ago | 2 answers | 0

Question

Generation of random number which needs to be passed to an array

I have 2 variables named A and B A has the range from -0.2 to 2.2 B has the range from -3.2 to 0.2 I need all the poss...

3 maanden ago | 1 answer | 0

Question

Replacement for the function containers.Map()

Hi All, Hope you are doing good. I was doing some project, I found out a function called containers.Map() and it works fin...

4 maanden ago | 0 answers | 0

Question

Different way of representation

Hi, This might be one of the basic doubts, but still going to ask it When i run a code i get the output as ...

4 maanden ago | 2 answers | 0

Question

Printing the values on the .csv file

Temperature Condition 40 Cold 60 warm 80 hot and so on (100 values) I have a query and i a...

4 maanden ago | 1 answer | 0

Question

Values not getting printed in csv file

Hi I have a small issue in printing the values in .csv file Code. for for for - some lines of code fprintf("Temperat...

4 maanden ago | 1 answer | 0

Question

Writing variables in .csv file and saving it

Hi, I have a functionality that works perfectly fine. But the output has a set of Numeric value and text strings. for ex: ...

4 maanden ago | 1 answer | 0

Question

How to write the output of the code to .csv format and save the file

place= ivc, val_a = 3.0000, close_a = 3.2806, diff_a=-0.0935, val_b = 3.0000, close_b = 2.8365, diff_b = 0.0545 X=0.3,Y=-1.5, te...

4 maanden ago | 1 answer | 0

Question

Issue with the variable after exiting for loop

for ioc=1:1:length(ring_vec) for ipc=1:1:length(opcon_vec) for irc=1:1:length(rccorner_vec) for inw=1:1:length(nw_vec) f...

4 maanden ago | 1 answer | 0

Question

Extracting the closest possible value having the same indices

t1 = 2.3 t2 = 5.6 %its is a 2*7*1*10*10*15*8 matrix p = period_arr(1,:,:,:,:,:,:); % this is of the form p = period_arr(i1,...

4 maanden ago | 0 answers | 0

Question

Picking the right combination from the arrays

I have 4 arrays, two combinations of Nwell and Pwell voltages of Transistor 1 and Transistor 2 For transistor 1 vnw_1 = 0...

4 maanden ago | 1 answer | 0

Question

Picking up the correct index values

I have 4 arrays, two combinations of Nwell and Pwell voltages of Transistor 1 and Transistor 2 For transistor 1 vnw_1 = 0...

4 maanden ago | 1 answer | 0

Question

Finding whether the element of the array is present in the other array and finding the index value

i have 2 arrays p = -0.20000 -1.80000 v = 0.9000 0.30000 1.20000 1.50000 -1.80000 I have to compare both the a...

4 maanden ago | 1 answer | 0

Question

How to eliminate the junk values in the index

a = (1,3,4,6,8,9,0,5,4,) b = (3) c = (4,56,7,8,5,1) a, b,c are saved in .vec extension a =load('numbers.vec'); b =load('nu...

5 maanden ago | 1 answer | 0

Question

Approximate Equality in Matlab

So i have two values A = 1.69 and B = 1.8 A = 2.1 and B = 2.4 How do i show it that they are approximately equal without us...

5 maanden ago | 2 answers | 0

Question

Taking the nearest decimals possible

Hi, I have a query i have 2 number 1] 1.6778 2] 2.032 How do i take the number 1.6778 to 1.7 ( nearest value) and 2....

5 maanden ago | 1 answer | 0

Question

How to print the string value using fprintf

Hi, a = (aa bb cc dd) for ion=1:1:length(a) and some lines of code then later i have some functionality -------------...

5 maanden ago | 1 answer | 0

Question

finding an closest possible element in an 7 dimensional matrix array

Hi, Code is as follows time = period_fun(2,2,1,10,10,15,3) is a 7D matrix with has domensions 2*7*1*10*10*15*8 %%%%%%%%%%%%...

5 maanden ago | 2 answers | 0

Question

Finding the closest value in an array of 7 dimension vector

Hi, I have an array period_temp (2,1,1,10,10,10,8) which gives a lot of values in 2 * 1 * 1 * 10 * 10 * 8 matrix now suppose...

5 maanden ago | 1 answer | 0

Question

Extract the value of a array from a function

period (t1, t2, t3) = time (p) where t1 , t2, t3 are n dimensional arrays say a = (1,3,4,6,8,9,0,5,4,) b = (3) c = (4,56,7...

6 maanden ago | 1 answer | 0

Question

Extraction of elements of an array inside the other array

Suppose i have period(t1,t2,t3) =time(p) where t1, t2, t3 are n dimensional arrays say t1 = (1,3,4,6,8,9,0,5,4) t2 = (...

6 maanden ago | 1 answer | 0

Question

Query regarding the colon operator

a(:,:,3,10,6,1) = 45 119 15.242 21.568 115.843 139.661 16.265 255.978 923.596 78.549 102.645 ...

6 maanden ago | 1 answer | 0

Question

Extracts columns using functions

Hi, I have raw .mat file. The data inside the file is not in the form of the matrix. However based on few conditions i need t...

6 maanden ago | 1 answer | 0

Question

Filtering the values of current and voltages based on a criteria

I have a list of 1000000 sets of data in a .mat file. it has 5 columns, say A,B,C, Current and voltage. for many sets of data we...

7 maanden ago | 1 answer | 0