Question


cell2mat error in arraycell
Sis=app.StrategyAggreg_UITable2.Data(:,3); xx=logical(cell2mat(Sis)); Error using cell2mat All contents of the i...

1 year ago | 2 answers | 0

2

answers

Question


call function with multiparameter:what is the best solution?
%WHAT IS best solution ? %Solution A: a)CaricoSistemi2Last_Struct(Settings,[]) b)CaricoSistemi2Last_Struct(Settings,mat) ...

1 year ago | 1 answer | 0

1

answer

Question


how to put only one item in the listbox
I want to fill the space of the box only with one element from the list I tried making the font bigger but it doesn't work b...

1 year ago | 1 answer | 0

1

answer

Question


title with confusing words
legend([hp1 hp2 hp2_ hp3],'Location','northwest'); sett=extractBefore(Set.tslist,'.'); if Set.allow_only_oos sett=strcat(se...

1 year ago | 1 answer | 0

1

answer

Question


calculate boolinger bandwidth using matlab function
hi..I had a problem relating to the calculation of the boolinger band Using the matlab function (bollinger) is the result equal ...

1 year ago | 1 answer | 0

1

answer

Question


convert struct in class?
in my code I created a structure but when I use its data I have to call some methods . Is it better to convert the structure in...

1 year ago | 1 answer | 0

1

answer

Question


check if tab exist
if ~isappdata(app.Tab_Instrum_Aggreg) Predator_CreaOggetti_Instrument_Struct(app); end ...

1 year ago | 1 answer | 0

1

answer

Question


moved object in app designer
in design view app designer i save app(immagine1) often when I reopen it I find the objects moved(immagine2)

1 year ago | 1 answer | 0

1

answer

Question


scroll in position down
it's possible to begin with scroll in position down?

1 year ago | 1 answer | 0

1

answer

Question


problem with dateshift..how solve it?
data1=datetime("2023-01-01") data2=datetime("2023-11-15") dt=data1:days(7):data2 RP=dateshift(data1:calmonths(1)...

1 year ago | 2 answers | 0

2

answers

Question


How to have class and inheritance
Hi. It's possibile to have list of this? (With all class and it's inheritance)

1 year ago | 1 answer | 0

1

answer

Question


select equity by touch
this is plot matrix I want to select line and to know which column is selected

1 year ago | 1 answer | 0

1

answer

Question


how get it?
a=magic(5) b=[1 3 2 4 5] i want to get: in 1 column i want to 1 element in 2 column i want to 3 element in 3 column i wan...

1 year ago | 2 answers | 0

2

answers

Question


how delete xline in app designer
function RilevaPeriodoButtonValueChanged(app, event) value = app.RilevaPeriodoButton.Value; if valu...

1 year ago | 1 answer | 0

1

answer

Question


graph alignment problem with Plot and Stem
hi, i've problem to alignment plot graph with stem graph all Data have the same size plot(Ax_Draw,XDates,TDR1) ST=stem(Ax_S...

1 year ago | 1 answer | 0

1

answer

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

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

1 year 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%)

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

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

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

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

1 year 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]"

1 year 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)

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

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

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

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

1 year 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

Load more