Community Profile

photo

Triveni


Last seen: 6 dagen ago Active since 2015

Statistics

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

View badges

Content Feed

View by

Question


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

10 dagen ago | 2 answers | 0

2

answers

Question


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

13 dagen ago | 1 answer | 0

1

answer

Question


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

5 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 1 answer | 0

1

answer

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

6 maanden ago | 1 answer | 0

1

answer

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

7 maanden ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 4 answers | 0

4

answers

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

answer

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

answers

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

answer

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

answers

Load more