Statistica
RANK
22.521
of 295.527
REPUTAZIONE
2
CONTRIBUTI
60 Domande
1 Risposta
ACCETTAZIONE DELLE RISPOSTE
55.0%
VOTI RICEVUTI
2
RANK
of 154.057
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
How to calculate minimum variance portfolio with constraints?
Dear everyone, I would like to calculate the weights of a minimum variance portfolio with leverage and short sale constraints. ...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
How to apply biorthogonal wavelets in time series?
Hi everyone, I would like to employ a bior3.5 on a time series using the matlab dataset DM_USD. I have read the page regardin...
oltre 3 anni fa | 0 risposte | 0
0
risposteDomanda
How can I solve the orthogonality issue in bior3.5 wavelet?
Dear everyone, I am trying to decompose a time series with the use of Biorthogonal Wavelet Pairs, but I receive an error ''Wa...
oltre 3 anni fa | 0 risposte | 0
0
risposteDomanda
Generate all possible combinations from 2 vectors
Hi all, I would like to generate a new matrix that will contain all possible combinations from 2 other matrices. For example, ...
oltre 3 anni fa | 0 risposte | 0
0
risposteDomanda
How to replace a for loop that contains an if statement?
Dear everyone, I have 2 vectors with random numbers A = -5 + (5+5)*rand(10,1); B = -5 + (5+5)*rand(10,1); and based on th...
quasi 4 anni fa | 2 risposte | 0
2
risposteDomanda
How to fit a PLS function with an intercept?
Dear all, I am using the plsregress function to derive the betas. I want to test a different number of components to see whic...
quasi 4 anni fa | 0 risposte | 0
0
risposteDomanda
Is it possible to run specific lines from a different script?
Dear everyone, I would like to ask if it possible to code to run specific lines from a script saved in a different directory ...
quasi 4 anni fa | 2 risposte | 0
2
risposteDomanda
How can I re-arrange a matrix?
Hi everyone, Let's assume that I have a matrix X, dimensions 10x2, a variable z of dimensions 10x1. Then I want to create an in...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Can I label all similar colored lines in one figure with subplots?
Hi everyone, I would ilke to label the lines that are getting the data from the same column with a common name, rather than n...
circa 5 anni fa | 0 risposte | 0
0
risposteDomanda
How to reshape a matrix into nx2 matrix?
Hi everyone, I would like to reshape matrix A A = magic(6) ans = 35 1 6 26 19 24 3 32 7 ...
circa 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to get the least MSE results after cross validation in PLS?
Hi everyone, I am running a PLS regression and try to select the parameters with lowest MSE, after cross validating, in order...
circa 5 anni fa | 0 risposte | 0
0
risposteDomanda
I am not getting the correct answer when using datetime function
Hi everyone, I am using the following function datetime(1,43100,1) but instead of getting '31/12/2017' as an answer (as given...
circa 5 anni fa | 2 risposte | 0
2
risposteDomanda
How to scale figure when printed in pdf without losing resolution?
Hi everyone, I would like to ask how can I resize a figure (or reduce white space margins around the figure) before printing in...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How can I change orientation and resolution in a pdf printed figure?
Hi everyone, I would like to ask how can I change orientation and resolution (at least 300dpi) in the printed pdf file of a fig...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How can I create a plot with subplots in a loop?
Hi everyone, I am trying to create a plot with subplots within a loop. The code so far is: x = randn(100,13); D = 1966 dis =...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to reshapre a matrix?
Hi everyone, I would like to reshape a matrix, say A: rng default A = randn(12,4) A = 0.5377 -1.3499 0.6715 0...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to plot dates expressed in the form of number?
Hi everyone, I want to plot dates that are expressed in the following format: % x-axis Time = [730211, 730241, 730302, 730333...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to write cell arrays in Excel?
Hi everyone, I am trying to write a cell array in Excel but I don't get any results. The code I have prepared is below: A = ...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Write results in Excel under multiple If statements
Hi there, I would like to ask how can I use multiple if statements. I have written the following code but I only get results ...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to use xlswrite with cell arrays in a loop?
Hi everyone, Suppose that I have the following cell array: AA = cell(10,1); for i = 1 : 10 A = randn(20,1); AA{i,1} = A; ...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to find if a pair is within an unorthogonal area with parallel sides?
Hi everyone, Suppose I have the area within the following x,y pairs, (3,1), (3,5), (12,1), (12,7), (6,5) and (6,7). I would ...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How can I determine is (x,y) pair is inside an orthogonal area?
Hi everyone, Suppose we have an orthogonal area where the 4 x,y pairs are (1,5) , (3,5) , (1,7) and (3,7). I would like to test...
quasi 6 anni fa | 2 risposte | 0
2
risposteDomanda
How can I add constraints in a solution of a function?
Hi everyone, I would like to solve the following function by adding two constraints. S=randn(6,6); y=randn(6,1); ONE = ...
circa 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How can I strip single quotes from a cell array?
Hi everyone, I am trying to get rid of the single quotes from a cell array elements in order paste results on TEX. In additio...
circa 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Why do I receive empty outputs in cell arrays after an if statement?
Hi everyone, I am applying an if statement in doubles and allocate outputs in cell arrays, such as stars{1}='*'; stars{...
circa 6 anni fa | 2 risposte | 0
2
risposteDomanda
How to use cell2mat for specific elements of cell array?
Hi everyone, I am trying to create a double from specific elements of a cell array. If I have a cell array B, of dimensions 6...
circa 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How could I randomly split the columns of a matrix into 3 matrices with equal number of columns?
Hi everyone, I would like to ask if there is a way to split a matrix A, with dimensions (100 x 12) into three sub-matrices wi...
circa 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to concatenate the rounded digits of a number and a string?
Hi everyone, I am trying to concatenate a rounded number (in the 2nd digit after decimal) and string value, so that: x= ...
circa 6 anni fa | 2 risposte | 0
2
risposteDomanda
How to create doubles from cell arrays?
I would like to ask if there is a more efficient code to do the following task: a = cell(10,1); for i = 1 : 10 a...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to calculate the weight of a mean variance portfolio
Hi everyone, I want to create a mean-variance portfolio of 6 risky assets and 1 risk free. The investor has a target portfolio ...
oltre 6 anni fa | 0 risposte | 0