Feeds
질문
all possible combination between matrices
I have 3 matrices with 2 columns but different number of lines, for example; A=[[2,1],[0,6],[4,2]] B = [[0,2],[1,1],[3,4],[0,5...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
ARMA(2,2) maximum likelihood estimation
How to estimate ARMA (2,2) like this one : y = delta + phi*(1.5*y(t-1) - 0.5*y(t-2)) + ut - teta*(1.5*u(t-1) - 0.5*u(t-2)) ...
대략 5년 전 | 답변 수: 0 | 0
0
답변질문
getting new tables from another
hi, how to get table just for smith; a table for william , and a table for johnson ? imagine i have many rows with different co...
5년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to implement a Correlated Brownian Motion correctly
here is a clear demonstration <http://www.goddardconsulting.ca/matlab-monte-carlo-assetpaths-corr.html>
How to implement a Correlated Brownian Motion correctly
here is a clear demonstration <http://www.goddardconsulting.ca/matlab-monte-carlo-assetpaths-corr.html>
6년 초과 전 | 0
답변 있음
Error: Z must be a matrix, not a scalar or vector
read <https://www.mathworks.com/help/matlab/ref/meshgrid.html here> you didn't use meshgrid in the right way
Error: Z must be a matrix, not a scalar or vector
read <https://www.mathworks.com/help/matlab/ref/meshgrid.html here> you didn't use meshgrid in the right way
6년 초과 전 | 0
답변 있음
how to add multidimensional array
if you mean how to create 3D matrix 5*5*5 you can use x(1:5,1:5,1:5)=0 % full of zero here
how to add multidimensional array
if you mean how to create 3D matrix 5*5*5 you can use x(1:5,1:5,1:5)=0 % full of zero here
6년 초과 전 | 0
답변 있음
Perform least squares regression to determine the coefficients a and b ussing the manipulation
look <https://ece.uwaterloo.ca/~dwharder/NumericalAnalysis/06LeastSquares/transformations/complete.html here> T=[77 100 185...
Perform least squares regression to determine the coefficients a and b ussing the manipulation
look <https://ece.uwaterloo.ca/~dwharder/NumericalAnalysis/06LeastSquares/transformations/complete.html here> T=[77 100 185...
6년 초과 전 | 0
답변 있음
Correlation Matrix of a 1x1 Structure
first step you have to construct the big matrix then compute the correlation: X=struct2array(here type your structure tit...
Correlation Matrix of a 1x1 Structure
first step you have to construct the big matrix then compute the correlation: X=struct2array(here type your structure tit...
6년 초과 전 | 0
답변 있음
How to calculate the value of correlation coefficient r using Spearman correlation coefficient test?
if you have the statistics toolbox you can use [RHO,PVAL] = corr(x,y,'type','Spearman')
How to calculate the value of correlation coefficient r using Spearman correlation coefficient test?
if you have the statistics toolbox you can use [RHO,PVAL] = corr(x,y,'type','Spearman')
6년 초과 전 | 0
| 수락됨
질문
theoric vs empiric PDF & CDF
hello guys, i want to know if there is a better way to compare the empiric PDF to the theoric PDF of a *normal distribution samp...
6년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
Manipulation Rules for Special Matrice
there is many ways to do it, you can for example assign i rows, j rows in a matrix of ones; then multiply by pi x=ones(4,6)...
Manipulation Rules for Special Matrice
there is many ways to do it, you can for example assign i rows, j rows in a matrix of ones; then multiply by pi x=ones(4,6)...
6년 초과 전 | 0
답변 있음
How do i calculate a sum using a function?
as i understand you want to sum 1+2+...n so you can use function S = Ma_somme(n) S = 0 ; for i =...
How do i calculate a sum using a function?
as i understand you want to sum 1+2+...n so you can use function S = Ma_somme(n) S = 0 ; for i =...
6년 초과 전 | 0
답변 있음
Plotting data from a table .mat file
x=table2array(your table title); read <https://www.mathworks.com/help/matlab/ref/table2array.html here>
Plotting data from a table .mat file
x=table2array(your table title); read <https://www.mathworks.com/help/matlab/ref/table2array.html here>
6년 초과 전 | 0
| 수락됨
답변 있음
multiple vectors histogram plotting
look at this example; it plots this matrix 24x3 load count.dat hist(count) legend('Intersection 1',... 'Intersect...
multiple vectors histogram plotting
look at this example; it plots this matrix 24x3 load count.dat hist(count) legend('Intersection 1',... 'Intersect...
6년 초과 전 | 0
답변 있음
How to save output in different column for each loop
you have to design the dimension of your output matrix, example if it is 10x3 set i(number of rows) and j(number of columns), t...
How to save output in different column for each loop
you have to design the dimension of your output matrix, example if it is 10x3 set i(number of rows) and j(number of columns), t...
6년 초과 전 | 1
답변 있음
Writing if function to Plot graph?
you can use this code y=zeros(35,1); for x = 1:35 if x < 6 y(x)=2; elseif 6<= x && x<20 y(x)= x...
Writing if function to Plot graph?
you can use this code y=zeros(35,1); for x = 1:35 if x < 6 y(x)=2; elseif 6<= x && x<20 y(x)= x...
6년 초과 전 | 0
답변 있음
how to handle 'nested' arrays
hi maho, i didn't understand what do you want exactly, but you can read here <https://www.mathworks.com/help/matlab/ref/strsplit...
how to handle 'nested' arrays
hi maho, i didn't understand what do you want exactly, but you can read here <https://www.mathworks.com/help/matlab/ref/strsplit...
6년 초과 전 | 0
답변 있음
How do i remove the letter a user inputs from a word?
i thisnk it works function [newstr, num] = removeLetter(str, letter) A=double(str); B=double(letter); C=upper(let...
How do i remove the letter a user inputs from a word?
i thisnk it works function [newstr, num] = removeLetter(str, letter) A=double(str); B=double(letter); C=upper(let...
6년 초과 전 | 0
답변 있음
How do i remove the letter a user inputs from a word?
function [newstr, num] = removeLetter(str, letter) A=double(str); B=double(letter); numRemoved=0; for i=2:length(A...
How do i remove the letter a user inputs from a word?
function [newstr, num] = removeLetter(str, letter) A=double(str); B=double(letter); numRemoved=0; for i=2:length(A...
6년 초과 전 | 0
질문
plotting n paths of geometric brownian motion
hello, i wanna plot say 30 paths of gbm, my problem is how to plot those paths cause my matrix (X1) is 3 dimensions dt=...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
how can i store a value of a calculation in a loop
try this put it just before end of the loop quantvalue=[]; quantvalue=[quantvalue quant];
how can i store a value of a calculation in a loop
try this put it just before end of the loop quantvalue=[]; quantvalue=[quantvalue quant];
6년 초과 전 | 0
답변 있음
display while loop output as an array
function [output] = hailstone_sequence(n) output=[n]; h = 1; while(n~=1) if n==1 return elseif mod(n,2) ...
display while loop output as an array
function [output] = hailstone_sequence(n) output=[n]; h = 1; while(n~=1) if n==1 return elseif mod(n,2) ...
6년 초과 전 | 0
답변 있음
MATLAB import tool (Import as a string array)
hello this is simple you have to use importdata function change fichier by your fichier-title mydata = importdata('fichier....
MATLAB import tool (Import as a string array)
hello this is simple you have to use importdata function change fichier by your fichier-title mydata = importdata('fichier....
6년 초과 전 | 0
답변 있음
How can I use "OR" in this situation? I want it to show if x==2 or d~=0
if x==2 || d~=0 disp('Given value is a prime!') end
How can I use "OR" in this situation? I want it to show if x==2 or d~=0
if x==2 || d~=0 disp('Given value is a prime!') end
6년 초과 전 | 0
| 수락됨
질문
left outerjoin without changing initial order in the output
i want to make outerjoin in such way to have output C keeping the same order as the key variable, precisely my key variable is...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
how to match daily returns ?
hello everyone, i have the dependent variable with daily returns y (1 column ), in the other hand daily returns for the independ...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
swiching elements of same vector
hi everybody, i have vector X=[ 20; 0; 0;0; 100; 0;0;0;50]; i would like to have X=[0;0;0;0;20;0;0;0;100]; so ...
대략 8년 전 | 답변 수: 2 | 0