MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Random number generation from uniform distribution
Ronan - 2022-06-14

Good afternoon, I'm currently trying to generate random numbers from a uniform distribution, but I'm not sure how to input probabilities.   For examp...

What exactly the ROC curve can tell us or can be inferred?
Aaronne - 2022-06-14

I wrote some codes to run a linear discriminant analysis based classification:   %%Construct a LDA classifier with selected features and ground truth...

Linear spectral unmixing of Fluorescence spectra
Thomas - 2022-06-14

Hey, I am trying to write a program for linear spectral unmixing with known endmembers. I have a fluorescence spectrum and the subspectra of the endme...

Naive Bayes
Avishek Dutta - 2022-06-13

Being a beginner I am facing great confusion regarding the NaiveBayes classifier.   The examples I see are like this   O1 = NaiveBayes.fit(meas,spec...

How to predict next value using time series?
WT - 2022-06-13

Hi, is there a way to use neural network toolbox to predict the next value in a time series?...

How can I turn new dummy variables into the same dummy variables I used to create a model?
Sarah - 2022-06-13

I have created a linear regression model which takes in 4 categorical variables (dayofweek, month, isholiday, and period). It uses the dummyvar() func...

Gaussian mixture model sometimes seems to fit very badly
the cyclist - 2022-06-13

In the following code, I fit a gaussian mixture model (GMM) to some randomly sampled data. I do this twice. Each time, the data represent two well sep...

How dist function works??
Archana Goyal - 2022-06-11

If w=rand(4,3); p=rand(3,1);   z=dist(w,p)   ans is 0.4278 0.6786 0.3725 0.6324 how these values comes?  ...

Log likelihood
Nuchto - 2022-06-11

Hi!   I was wondering how to compute (which function to use) in Matlab the log likelihood but when the data is not normally distributed.   Thanks!...

Compound Poisson Distribution Model
Yasmin Tamimi - 2022-06-11

Hey Everyone,   I have the probability density function of a Negative-binomial Distribution (Compound Poisson Distribution) and I would like to gener...

Get a Free Consultation or a Sample Assignment Review!