Community Profile

photo

msh


Aktiv seit 2013

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How I can create a stacked Bar from Table ?
I want to create a stacked bar chart from a table. Here there is a minimum working example of the type of table I am looking at:...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


solution to a single nonlinear equation with a parameter
I want to get the solution to a nonlinear single equation, that carries a parameter the functional form is complicated: the...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


store value after multiple loops
Hi, I have four different loops, from which I would like to store the results once an inside loops is finishing. The algorit...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


waitbar within a while loop
Hi, I have a code that need to necessary execute a "while" loop. I am wondering how is possible to use a wait bar until this...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


The command normrnd times a scalar
Hi, I would like to know how Matlab understands the following: eta=normrnd(0,sigma)/100 Is this command going to re...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


flag an error message when a scalar is complex
Hi, I would like to include in my algorithm an error message where it will tell me that a scalar is complex. So for exampl...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Random numbers within a specific range
Hi, I would like to know how is possible to generate random draws from a normal distribution , where the rv has a specific r...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


matrix operations and vectorization
Hi I would like a little help to construct in Matlab a fast way of carrying out the following computations. Suppose that the...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


fitted line in a scatter plot within a subplot
Hi, I would like to put a fitted line in a scatter plot, that I include in a figure with multiple plots. I am attaching the...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


genetic algorithm combined for non-linear regression
Hi, I was suggested and I believe that is really a good idea, that by using a genetic algorithm to determine my initial gues...

fast 9 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


Nonlinear regressions alternatives to nlinfit
Hi, What are the available alternatives to 'nlinfit' in Matlab ? Is there a ridge type of regressions to be used for non-lin...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Plotting multiple histograms in one figure
Hi, I have some data points, simulated as follows: for t=1:10000 H1(t)=normrnd(0,0.05); H2(t)=normrnd(0,0.10); ...

fast 9 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


matrix indexation and loops over a specific set within a vector
I have the following definitions long = 1000; init = 500; N = init+long; T = init+1:N-1; T1 ...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


conditional statements and while loop
Hi, I have the following while loop while (dif1 > tol) && (dif2 > tol) && (dif3 > tol) procedure end ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


least square fit matrix dimension errors
Hi, I am trying to run a nonlinear regression my code is the following: gamma = 3; eps ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
nonlinear solver user specified function
Ok, I manage to work that function through this simple example. I am attaching the files of the example for how to construct the...

mehr als 9 Jahre vor | 0

Frage


nonlinear solver user specified function
Hi, I would like to use a user specified non-linear solver as a substitute for the fsolve. This function is quite frequent i...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


maximization problem with random variables.
I have the following maximization problem. max (E[(v(A) R)^{1-gamma}])^{1-gamma} with respect to theta, phi where R is defin...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solving a nonlinear equation with random variable
Hi, *UPDATE* I would like to solve an eguation that looks like this |E[(R^(1-\gamma))*(rk+theta -rz)]=0| , where |R...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


fminbnd with function that takes multiple inputs
Hi, my code includes the following k % vector kmin % minimum value in the vector kmax % max value in the vect...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


debugging a matlab code
Hi, I am attaching the folder with the relevant files for running a particular matlab code. In the file, there are two codes...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


fortran77 to matlab convert
Hi, i would like to convert this code of F77 to matlab. I am confused on one particular step, the "goto" and more specifical...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


calling mex file error
Hi, I am trying to execute an example found in mathworks. The example is very simple: copyfile(fullfile(matlabroot,'ex...

fast 10 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
Nested Loops and efficiency
Sorry for my late reply, but really the whole code took ages to complete so i was trying to do something to get some feeling of ...

fast 10 Jahre vor | 0

Frage


Nested Loops and efficiency
Hi, I have the following function, and there are some nested loops with multiple if statements inside. The code, runs extrem...

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


The pause and return commands of fortran 90 to matlab
Hi, I am trying to translate a fortran 90 code into Matlab. I do it solely for my own practice and in order to understand a ...

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


the goto fortran90 command convert to matlab
Hi, How i can best convert the goto command of f90, to matlab. the f2matlab function available does very poor job on this. T...

fast 10 Jahre vor | 5 Antworten | 0

5

Antworten

Frage


Fortran to Matlab converting the "where" statement
Hi, I would like to know how is possible to convert the particular statement from fortran to matlab where (abs(A-B)>e)...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How I can solve a simple system of equations
Hi, I want to solve the following system w = A*(1-gamma)*k^(gamma); r = A * gamma * k^(gamma-1); H = w + (1-beta...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is MATLAB solving Difference equations ?
Hi I am wondering whether MATLAB is able to solve DIFFERENCE (recursive) equations, not differential ones. For example, diff...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden