photo

Triveni


Last seen: quasi 2 anni fa Attivo dal 2015

Followers: 0   Following: 0

Statistica

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

Visualizza badge

Feeds

Visto da

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 4 risposte | 0

4

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 3 risposte | 0

3

risposte

Carica altro