photo

Clarisha Nijman


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Error for function permutation with repetition.
Dear all, I am using matlab 2016b and try to find al the permutations with repetition. But it gives me an error saying: Und...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find parameters of binomial distribution?
Dear all, What code can I use in matlab to find the parameters of a binomial distribution? This question is very big. So I am r...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find the parameters of a binomial distribution?
Dear all, X is the number of sucesses and is binomiallly distributed with parameter n=20 and fraction p. The fraction p is un...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to detect problematic part of the code
Dear all, in running my 300-lines code I encountered an error, saying that I do have nan inf in the input and I do not understa...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Simpler code for aggregating data by sum
Hello, given matrix A: A=[4 0.5;4 0.25;1 0.125; 2 0.2;4 0.6;3 0.2; 1 2/3; 2 1; 2 1/16;4 0.5] asked: Aggregate data in firs...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


if NaN then...
Dear all, I have a function that returns me a PMatrix. But sometimes that matrix is full with nan's. The cause is known, but th...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


When does the kernel fitdist function returns nan?
Dear all, I am using the fitdist function in my code and notice that for some inputs I have a vector with nan entries. Th...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to continue without solution min max constraint problem.
Hello, Solving a min max constraint problem in matlab,is a part/function of my whole code. This function finds the optimal line...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Understanding the syntax of the minimax constraint problem
Dear all I am trying to solve a minimax constraint problem, where the objective function is an absolute function. Given the dat...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to maximize system of linear equations?
Hello, Given: A=[4 3; -1 7; 5 9; 2 4]; x=[x1;x2]; b=[b1; b2; b3; b4]; How can I maximize the linear system of equations: Ax...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can Matlab decides function based on data to find the best taylor series to use?
Dear all, Given a huge set of points (x,y) where x represents the time and y the residual. I want to express the residuals as ...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to derive probabilities from density function?
Hello, I want to use the density function to find probabilities of unit intervals. In the distribution fitting app of Matlab,...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to remove column from matlab table?
Dear all, Given table: TJClean = Xn_2 Xn_3 Xn_4 Prob1 Prob2 Prob3 ____ ____ ____ ...

etwa 6 Jahre vor | 3 Antworten | 5

3

Antworten

Frage


How to do a right join based on multiple columns as ID?
Dear all, I want to join set B from the right with set A, based on the first three columns. (The values of the three columns ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to subset in matrix based on the first 3 columns?
Hello, I am trying to find subsets/matrices in matrix A, based on the first 3 columns, and then computing probabilities. For su...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to execute R file in matlab with Windows?
Hello, I have a file in R that I want to include and execute in a Matlab file. My laptop uses Windows. Mathworks gives some s...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to find probability of an interval using the density plot?
Dear all, Given: d=randi([-3 3],10,1);% an arbritrary set of values U=[-5:5];%range of interest Find: The images (proba...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to check irreducible Markov chain?
Hello, Now I want to check in matlab if a Markov Chain is irreducible or not. I found some instructions in mathworks saying: ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to estimate probabilities of an arbitrary range, based on the probability distribution of a given a data set of numbers?
Hello, Given a series of values x, I want to estimate the probabilities of a range of numbers U, in(using) the probability di...

etwa 6 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
Sampling some elements without replacement out of big population, based on a probability distribution
Bruno, the answer is very very clear, thanks a lot!

etwa 6 Jahre vor | 0

Frage


Sampling some elements without replacement out of big population, based on a probability distribution
Hello, Given population U=1:20, The associated probability series is related to the importance of each element: p=[0.01 0...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to sample columns from matrix based on norm squared sampling?
Hello, I want to do some random column sampling. This technique samples n columns of a matrix based on the probability distr...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to generate numbers from probability mass function?
Hallo, Given a probability mass function defined as P(X=3)=0.2, P(X=7)=0.3 and P(X=10)=0.5, I want to generate randomly 30 nu...

etwa 6 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


How to change output ans?
Hallo, my algorithm works fine. But I do not like the output/ans matlab gives. it says: ans 1.0e+03 * 1.0000 ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to normalize a matrix such that each column sums equal 1
Hello, I have a matrix A=[1 2 3; 1 3 6] and want to normalize the matrix such that each column sum equals 1. The normalize...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How to replace k-th diagonal by vector?
Yes Guillaume! It works! Thanks a lot. You are indeed right about the code. I pasted the code partially, and expected that the l...

etwa 6 Jahre vor | 0

Frage


How to replace k-th diagonal by vector?
I have a code here that give me errors. In the code I am computing a i-th dot product and want to replace this values on the i-...

etwa 6 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


How do I find/retrieve block in block matrix?
Hi, let's say I have 3 matrices A,B,C and store them in a block diagonal matrix, such that I can refer easily to them in a fo...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is there an inbuilt function/algorithm for finding a Higher Order Markov Chain model?
Hi, I am trying to find some guidance that could help me to find a Higher Order Markov Chain model for a time series, which e...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


What is valid matlab syntax in if statement?
If I use "==" in the 9th line of this code it says: inappropiate use of == operator. If I use "=" I am getting a parse error. ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort