Question


numbering equal to 1 if the number is different from the previous one
the first element >0 i assign =1 in the subsequent elements if the number is different from the previous one then I put =1.. ...

10 months ago | 0 answers | 0

0

answers

Question


can i velocize it? (if possible to vectorize)
[r,c]=size(DD); z=find(RP_bin); filtro=zeros(numel(z),c); period=3; %value=from 1 to numel(z) tic for i=1:c ...

10 months ago | 1 answer | 0

1

answer

Question


toggle percentual from matrix
how toggle % from matrix? per=5; a=magic(4) i want to toggle from each element per (5%)

10 months ago | 1 answer | 0

1

answer

Question


small numbers in the legend
leg = 3×1 cell array {'1-Preset1- ==>0 $' } {'2-Preset1_1- ==>0 $'} {'3-Preset1_2- ==>0 $'} l...

10 months ago | 1 answer | 0

1

answer

Question


Rename substring in table
this is a table with field "Name" i want to search if name exit in table example: name=Preset1 name exist in table ? yes Th...

10 months ago | 1 answer | 0

1

answer

Question


problem to apply variableNames to table
bubu=convertvars(dd, dd.Properties.VariableNames(1:end), 'cell'); disp(bubu) Dwmy LS_abilitaLong LS_abilitaShor...

10 months ago | 1 answer | 0

1

answer

Question


problem with Boolinger Band
>> Data=1:500; >> bollinger(Data) Error using bollinger Expected Window size to be a scalar with value <= 1.

10 months ago | 1 answer | 0

1

answer

Question


how to convert vector in string as example
Input: c and a c=1; a=[4 7] "cnt 1 - [4 7]" c=2; a=[8 9] "cnt 2 - [8 9]"

11 months ago | 2 answers | 0

2

answers

Question


i want to write shorter code
b=[0 1 1 0 0] n=numel(b); c=b' repmat(b,n,1) repmat(c,1,n) repmat(b,n,1)|repmat(c,1,n)

11 months ago | 1 answer | 0

1

answer

Question


how to speed ...i need very fast code
q=6062; %%I want to call this code and pass it a different 'q' each time matrix=matri(1:q,:); [~,c]=size(matrix); COR=zer...

11 months ago | 3 answers | 0

3

answers

Question


problem with cell array e unique
>> class(RankList) ans = 'cell' >> typeRank=unique(cell2table(RankList)) Error using tabular/unique Unable to gro...

11 months ago | 1 answer | 0

1

answer

Question


how create matrix with syncronizing data
i want to create a matrix of 'Value' using 'dailyprof' to syncronize it example: i find max and min data in Sis.Data After ...

11 months ago | 0 answers | 0

0

answers

Question


how to make the same length in the struct
i've a struct with filed of various length (see pics) i want to make the same length of this array and assign the zero in the ...

11 months ago | 2 answers | 0

2

answers

Question


How vectorize this loop
x=8 a=magic(x) b=[15 7 3 4 9 0 9 4] ====> 0 is important to test it 1 method with loop c=a; tic for i=1:height(a) fo...

1 year ago | 2 answers | 0

2

answers

Question


skip items in a legend
i see this post https://it.mathworks.com/matlabcentral/answers/406-how-do-i-skip-items-in-a-legend but i don't understan how r...

1 year ago | 1 answer | 0

1

answer

Question


problem with logical number : how minimize calculate
hi, i hope you understand my problem with pics Input: a, x

1 year ago | 1 answer | 0

1

answer

Question


how can i disable the arrow below in spinner control
hello..how do you disable the arrow below? function CalcloopsSpinnerValueChanged(app, event) value = app.Calcl...

1 year ago | 1 answer | 0

1

answer

Answered
logical data some time is not 0/1
hi,thank for answer You write: "How are you reading in this data? " Simple..see pics 3-4 in the starting situation they are ...

1 year ago | 0

Question


logical data some time is not 0/1
function startupFcn(app, setting) app.Calling_Predy2=settings; app.UITa...

1 year ago | 1 answer | 0

1

answer

Answered
problem insert data in uitable (app designer)
thanks.. Another questions: if i want to use multiple select file : file2 = 1×6 cell array Columns 1 through 4 {'C...

1 year ago | 0

Question


problem insert data in uitable (app designer)
function [T1,nome]=Carico_i_nomiFile_e_Dati_Folder_Struct(g) if g==1 [file2,~] = uigetfile('c:\Titan\reports\*.txt', 'Sel...

1 year ago | 2 answers | 0

2

answers

Question


how velocize this code
%ss is array double %profit is array double g=zeros(height(ss)); maxCat=3; for i=1:height(ss) z=find(ss(:,i)>0); i...

1 year ago | 0 answers | 0

0

answers

Question


how insert array in field struct
Z is matrix number for i=1:width(A) A(i).b=z(:,i) end it's possibile to avoid loop?

1 year ago | 3 answers | 0

3

answers

Question


add column in table
T= struct2table(G); c=1:length(T); c=c'; i want to add c as new column of T!

1 year ago | 1 answer | 0

1

answer

Question


Assign array in field struct
class(Sis) ans = 'struct' length(Sis) ans = 82 c=1 2 3 .. 82 i want to create new field...

1 year ago | 2 answers | 0

2

answers

Question


update box with TextAeaValuechanged callback don't run
hi, when i change text in this area nothing happens Am I doing something wrong or should I select Add ValueChangingFcn ca...

1 year ago | 1 answer | 0

1

answer

Question


uidropdown : how know indices in item?
example: i select a ====> position =1 i select d=====> position =4 fig = uifigure; %dd = uidropdown(fig,"Items",P...

1 year ago | 1 answer | 0

1

answer

Question


is possible to update parameter function ?
i do an example : function xx(g) for g=1:1000 //do something end end Main xx(g); fprint(" %d ",g); end >an...

1 year ago | 1 answer | 0

1

answer

Question


uitable in app designer: format scalar and size cell table
hi, i need to resize the column of table (to use a fixed size) and i need 1.2964e+04 =====> 129640 i try to use addsty...

1 year ago | 1 answer | 0

1

answer

Question


why readtable create field "D" in the struct "D1"
function D1=TEST() D=readtable('test.txt','delimiter',','); save canc.tset D D1=load('canc.tset',"-mat") end i access it ...

1 year ago | 1 answer | 0

1

answer

Load more