![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2788537_1522091332583_DEF.jpg)
Orongo
Followers: 0 Following: 0
Statistica
RANK
13.618
of 292.704
REPUTAZIONE
3
CONTRIBUTI
30 Domande
3 Risposte
ACCETTAZIONE DELLE RISPOSTE
33.33%
VOTI RICEVUTI
2
RANK
of 147.861
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
Plot using same colors
Hi, I am plotting 100 lines in one plot and am zooming in on 10 of them (final 10 in a matrix). How can write so the 10 lines I ...
circa 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to increase xticks to axis
Hi, I have tried different solutions online but nothing works. I have a row vector of dimension (1x19) where each value is for y...
circa 5 anni fa | 1 risposta | 0
1
rispostaDomanda
What is the theoretical quantile normal distribution in qqplot?
I'm about to plot my residuals in a qqplot like this, qqplot(myresiduals) and read from description the command plot the res...
oltre 5 anni fa | 0 risposte | 0
0
risposteDomanda
Creating a table with repeating values
Hi, I want to store my simulated values into a table with the headings; Simulation, Gender, Age and Year and m_xt. I have done 1...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Filter a table by 2 columns
Hi, I'm using 'patients' (load patients) to learn more about tables. I'm trying to filter the table by gender and smoker status ...
oltre 5 anni fa | 2 risposte | 0
2
risposteCalling multiple cell elements at once
Ok. It seems like I have to do a for loop, there is no other way.
oltre 5 anni fa | 0
Domanda
Finding in a cell array within a cell array
HI, I have made a simulation and saved each simulation in a cell array. For a Chi-square test I need to cound number of times a ...
oltre 5 anni fa | 0 risposte | 0
0
risposteDomanda
Calling multiple cell elements at once
Hi I have a 1x10000 cell that I want to take out elements from. In my example here I use a 1x2 cell where I want to take out the...
oltre 5 anni fa | 2 risposte | 0
2
risposteDomanda
Get number of occurrences of value in a specific position in matrix
Hi, I have simulated 10,000 matrices and am setting up a Chi-square test and want to count the number of times a value has appea...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Integral calculation with parameters and age dependents
Hi, I have a working function of an integral that I would like to expand. I want to consider different parameters dependent on a...
oltre 5 anni fa | 0 risposte | 0
0
risposteDomanda
ArrayValued intergral and control
Hi, I have a complicated integral I need to calculate. Part of the integral will be calculated with the parameter ArrayValued. M...
oltre 5 anni fa | 0 risposte | 0
0
risposteDomanda
Integral calling another integral
Hi I get an error when calculating an integral. The error is caused by my "nested" integral. Here is what I have written so far ...
oltre 5 anni fa | 1 risposta | 0
1
rispostaHow to change anonymous function to take array parameter and subject to ranges
I tried following change in the function but get the error Operands to the || and && operators must be convertible to logi...
oltre 5 anni fa | 0
How to customize a function
I have closed this query and raised it here to avoid confusion. https://uk.mathworks.com/matlabcentral/answers/427020-how-to-ch...
oltre 5 anni fa | 0
Domanda
How to change anonymous function to take array parameter and subject to ranges
Hi, I have a working anonymous function that takes a vector of size 1x3 and I want to expand this to 3x3. The function is named ...
oltre 5 anni fa | 2 risposte | 0
2
risposteDomanda
How to customize a function
Hi, I need to amend my function f_lx.m. Today the function takes 2 parameters; t=age and param_1955=a vector with 3 scalars. I w...
oltre 5 anni fa | 2 risposte | 0
2
risposteDomanda
Draw a discontinuous line
Hi, I want to draw a discontinuous line that will later be used in a another plot. For my example I have written following lines...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to make a scatterplot
Hi, I have a large set of residual data (10x10000) with ages 61:70 (by row). I would like to plot the residuals looking like thi...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Plot of confidence interval with fill
Hi, I have a confidence interval (CI) I would like to plot together with its average. I have used the command fill to create the...
quasi 6 anni fa | 1 risposta | 1
1
rispostaDomanda
Using histogram or histfit
Hi, I have a large set of data containing the result of the difference between simulated values and base. I want to illustrate t...
quasi 6 anni fa | 1 risposta | 1
1
rispostaDomanda
How can I add " " to first row and column in a cell
Hi, I have created a cell with average values of 100 simulations. Now I need to save this as a text file (space delimited or tab...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Error message using function fminunc
Hi, I'm using the function fminunc to find my least square error. Unfortunately I get the error message Error using fmi...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Error message from integral calculation
Hi, I'm calculating the survival function (lx) that is expressed with an integral such as <</matlabcentral/answers/uploaded_...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Getting min value from fminunc
I'm using the function fminunc to find the minimum in square difference. The code I have is fun=@(param)f_Makeham(param,mu_...
oltre 6 anni fa | 2 risposte | 0
2
risposteDomanda
Equivalent of Excel Solver, fminunc?
I'm replicating a calculation done in Excel with Matlab. The spreadsheet used Solver to find the smallest difference between a g...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
fmincon, quadprog or other
Hi, I want to minimize (B-MU)^2, where B is a vector of length 106 (ages x=1 to x=106) and MU is expressed as below equation. By...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Using linprog for equation with exponential and upper limit
Hi, I am replicating a calculation done in Excel that set up the equation mu(x) accordingly <</matlabcentral/answers/uploaded...
oltre 6 anni fa | 2 risposte | 0
2
risposteDomanda
Nested integral and how to plot
Hi, I have this exercise to calculate D_x that is defined as following: <</matlabcentral/answers/uploaded_files/91068/tmp.png...
quasi 7 anni fa | 0 risposte | 0
0
risposteDomanda
Create a matrix where each element is a Binomial distribution
Hi, I want to create a matrix Y where each element is its own unique Binomial distribution. I want the parameters N and P be the...
quasi 7 anni fa | 0 risposte | 0
0
risposteDomanda
Calculate integral with an external formula
I calculating an integral over a function that is defined in seperate m-file. My program looks like: % main.m mu_x=@(t) ...
quasi 7 anni fa | 1 risposta | 0