MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 60 of 208 Ask a Question
How to properly extract data from text file?
Sharah · May 10, 2022 · MATLAB , Data Import and Analysis , Data Import and Export , AI, Data Science, and Statistics ,

I have a data in a text file that looks basically like this:     LineType: 1 PlayMode: Single GameType: OneBalloon LineType: SumR3 TranslationSpeed: 0 SensivityBalloon1: 0.09 Sen…

Birthday paradox
s3942336 · May 5, 2022 · Appdesigner GUI

hey this is my code for my birthday paradox, why wouldnt it run when i chnage the values, the graph deosnt work mat= zeros(1, 365); N = app.RealisationsEditField.Value; dmax = app.…

How to initialize the parameter mu to zero of a Gaussian Mixture model ?
A. P. B. · May 4, 2022 · gaussian mixture m... , AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox

X = mat_cell;   [counts,binLocations] = imhist(X); stem(binLocations, counts, 'MarkerSize', 1 ); xlim([-1 1]); % inital kmeans step used to initialize EM K = 2; % number of mixtur…

What are the vectors in fitdist command window output?
Anton · May 4, 2022 · AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox , fitdist , missing doc

In the command window output when using fitdist there are vectors in connection to the parameter values that look like they might contain confidence intervals (a vector containing …

How to detect noisy data / outliers?
Ive J · May 4, 2022 · AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox , noise detection , outl

I have a problem to distinguish between a complete noisy data or data containing some outliers. In fact, I am trying to do a sort of Grid Independence Check (term usually is used i…

How to define the bounds of Gamma distribution (a,b)
Houda · May 4, 2022 · bayesian distribution , AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox

Hey everybody, I am looking for how to calculate the interval of the gamma density distribution when setting the priors in Bayesian estimation. For beta(a,b) the mean of X= E(X)=a/…

Beginner: How to get age-adjusted Z scores of a variable?
ShaneS · May 4, 2022 · AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox , regression , z score

Hi Everyone,   I have a 25 (subjects) x 68 (variables) matrix. I also have a variable called Age (25 x 1). Now, I would like to get the age-adjusted values of the 68 variables. Co…

Smart and fast way to compute triple summation?
genny_smith · May 4, 2022 · AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox , Probability Distribut

Hi all,   I need to compute the following triple summation for different values of n for all s.   Also, ~p, l_s and q_s1, q_s2 and q_s3 are known and π is the multinomial distri…

Calculating kmeans on a GPU
Mailz Daizan · Apr 30, 2022 · gpu , kmeans , Parallel Computing , Parallel Computing Toolbox , GPU Computing

Kind time of the day, dear inhabitants of the forum. I want to ask whether anyone can help me calculate the clustering of kmeans on a GPU it is not included in the standard functio…

How to use grpstats to sum several variables
Baynesy · Apr 30, 2022 · grpstats , beginner , returns , monthly , AI, Data Science, and Statistics , Statistics and Machine

I have a table of historic stock returns that I'm trying to perform some analysis on. The first variable is Stock, the second variable is Industry and 3:374 are the monthly returns…

Get a Free Consultation or a Sample Assignment Review!