Question


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

environ un an il y a | 2 réponses | 0

2

réponses

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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)

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

0

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

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)

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 3 réponses | 0

3

réponses

Question


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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

0

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

1

réponse

Charger plus