Community Profile

photo

Triveni


Last seen: mehr als ein Jahr vor Aktiv seit 2015

Statistiken

  • First Review
  • Thankful Level 5
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to add different colors in particular rows and columns?
I have a matrix data_set_pro = Columns 1 through 18 20 700 -14017 702.1 1401...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


how to find average value up to current row in Matrix
I have a matrix A A = [ 128 8.4 127 8.7 128 8.3 ] I want to fin...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Function is not running. please help me.
I have a program (attached) namely singletradecal.m . When i run it works fine. When i run through function(attached tcfun5.m) i...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


please help me in plotting bar graph
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'); ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


please help me in sort row
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)); ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help in convergence of the array
for l = 1:6 c11 (l)=opt11{l}; end output = c11 = Columns 1 through 5 89.0475 98.7932 98.7932 98.7932...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 3 Antworten | 0

3

Antworten

Mehr laden