Community Profile # Triveni

Last seen: ongeveer een maand ago Active since 2015

#### Statistics

• • • • • #### Content Feed

View by

Question

I have a program (attached) namely singletradecal.m . When i run it works fine. When i run through function(attached tcfun5.m) i...

2 maanden ago | 1 answer | 0

### 1

Question

How to round numbers to specific near point?
I have a vector A = 6.1 6.04 5.98 5.92 5.86 5.8 5.7...

4 maanden ago | 1 answer | 0

### 1

Question

How to generate series by percentage difference using loop?
I have a value A(1) = 60; A(2) = A(1) *0.99; A(3) = A(2) *0.99; A(4) = A(3) *0.99; A(5) = A(4) *0.99; A(6) = A(5) *0.98; ...

4 maanden ago | 1 answer | 0

### 1

Question

How to delete rows from matrix
I have an variable SP_U (.mat file attached), I have finded SP_d by specific condition, SP_d=SP_U(SP_U(:,2)<SP_U(:,3),:); I...

4 maanden ago | 1 answer | 0

### 1

Question

How to search and find nearest data in the given array
I have an array (Matt J attached) I have n = 70; or any other number. SP = 998.45 or any other number from column2. I want to s...

4 maanden ago | 1 answer | 0

### 1

Question

How to limit variables in input function?
I have a function [P_max1(j), ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~, ~] = tcfun1(1,P_min11 (j), P_max11(j), T, 1); It perfectly ...

5 maanden ago | 1 answer | 0

### 1

Question

How to resolve index exceed error
When i run the code, A = reshape([1,2,3,4,5,6,7,8,9], 3, 3); C = permute(reshape(A(perms([1,2,3,4,5,6,7,8,9])), [], 3, 3), [2...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

Is it possible to create all possible swaps/permutations within matrix?
I have a matrix A. I want to find all possible swaps/permutations in the format A(:,:,1:i) A = ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to find unique matrix from given array and corresponding indexes?
I have A A(:,:,1) = Columns 1 through 2 20 20.05 ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to find unique matrix or matrix combination from given permutations?
I have a matrix . >> perms([19.95,20,20.05,20.95,21,21.05]) ans = 21.05 21 ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to split matrix into arrays without loop.
PL PL = 2100 2100.5 -0.67 2100 ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

HOW TO RESHAPE 3D ARRAY WITH DIFFERENT DIRECTIONS?
for i = 1:length(j) NETPLP(:,:,i)= [BPavg1(1,1,i), SPavg1(1,1,i), NETPLP1(1,1,i); BPavg2(1,1,i), SPavg2(1,1,i), NE...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to combine matrices
I have to combine NETPLP(:,:,1) = 22 22.45 89.42 ...

ongeveer een jaar ago | 2 answers | 0

### 2

Question

y = [327 680 509 313 ; 456 565 442 369 ; 227 325 210 3597; 426 532 360 149; 540 848 755 864]; bar_handle = bar(y,'grouped'); ...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

is it possible to expand [0 {9}, 45 {2}, 0 {9}]
I have a matrix like [0 {9}, 45{2}, 0{9}] i want to expand it like [0 0 0 0 0 0 0 0 0 45 45 0 0 0 0 0 0 0 0 0]? and it wor...

ongeveer 6 jaar ago | 4 answers | 0

### 4

Question

I have a row, x = [0 0 0 0 0 40 40 -40 -40 -40 -40 -40 -40 80 80 80 80 80 80]; x1=x; [xi, u_x] = hist(x1, unique(x1)); ...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How to put any variable name automatically?
In this program, a = 1 ; b=2; c = zeros(20,1); d= zeros(20,1); for k = 1:20 c(k) = (b+k)^2 + (a+k)^3; ...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How can i set input command for undefined variable?
I have a input. x_ang = [0 0 15 15 30, fliplr([0 0 15 15 30])];% [X,NN] = RunLength(x_ang); it = 10; x=4;y=10; if ...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How can i find 4 continuous component in row and replace
I have a row, I = [60 60 0 0 0 0 45 60 90]; % I want to find 4 continuous component, and 4th component should be replace...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

for l = 1:6 c11 (l)=opt11{l}; end output = c11 = Columns 1 through 5 89.0475 98.7932 98.7932 98.7932...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How can i solve matrix equations?
X = 1.0e+07 * [ 3.4829 0.5180 1.0634; 0.5180 0.4133 0.2245; 1.0634 0.2245 0.5671]; Y = [-518...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How to write variable to symbolic ?
A = 10; B = 15; C = 18; lcm_ABC = lcm(sym([A, B, C])); lcm_ABC = double(lcm_ABC); ABC_N = lcm_ABC/A + lcm_ABC/B + ...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How to replace any value into vector or matrix to -inf
ab = 11.0000 11.5000 12.0000 12.1000 12.2000 12.3000 11.2000 9.0000 9.5000 11.3000 ...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How to change color of individual bar graph.
y = [21000 65000 65000 65000 ; 16000 50000 50000 50000 ; 11000 34000 34099 34101; 6299 19500 19299 19300; 7701 37899 37901 3780...

ongeveer 6 jaar ago | 1 answer | 0

### 1

Question

How to combine cell row into any varible??
value(:,:,1) = [1x2 double] value(:,:,2) = [1x4 double] value(:,:,3) = [1x16 double] val...

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

How can i write any vector for many time from short form??
i have a vector V1 = [ 45 -45 45 -45 45 -45 45 -45 45 -45 45 -45 45 -45 45 -45 45 -45]; V2 = [0 0 0 0 0 0 0 0 0 0 0 0 ...

meer dan 6 jaar ago | 2 answers | 0

### 2

Question

How can i write any vector into short form?
I have a vector V = [0 0 0 -45 45 45 -45 90 90] i want to view it as countable form i.e [(0)3, -45, (45)2, -45, (90)...

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

how to find and replace corresponding matri
a1{:} ans = 73.3333 50.0000 66.6667 50.0000 ans = Empty matrix: 0-by-2 ans = Empty ...

meer dan 6 jaar ago | 3 answers | 0

### 3

Question

How can i combined array automatically
a = [100, 125, 150, 175, 200, 225, 250, 275, 300, 325]; for k = 1: numel(a) Fx{:,:,k} = a(k:numel(a)) end ...

meer dan 6 jaar ago | 1 answer | 0