Answered
Classifiers. How can i draw 3-D plot ?
I have a webinar entitled An Introduction to Classification with MATLAB. The code is available for download from the file exc...

ungefär 12 år ago | 0

Answered
How to merge two similar functions into a same function? any mathematical modeling method or tool box?
Hi Qian Implicitly, you seem to be suggesting that there is a single model that describes both of these sets of data. Rather...

ungefär 12 år ago | 0

Answered
Classifiers. How can i draw 3-D plot ?
The SVM implementation in Bioinformatics Toolbox is limited to binary classification. The Naive Bayes classifier in Statistic...

ungefär 12 år ago | 1

Answered
How to obtain Std of Coefficients from Curve Fitting
Hi George Conveniently, 12a also has a function call NonLinearModel %% Generate some data X = 2* pi*rand(100,1); ...

ungefär 12 år ago | 0

| accepted

Answered
How to obtain Std of Coefficients from Curve Fitting
The 12a release of Statistics Toolbox has some very nice new capabilities for regression analysis. %% Generate some data ...

ungefär 12 år ago | 1

Answered
how do I determine the probability distribution of data?
Sorry if this sounds like a silly question: Is there an absolute requirement that you describe your data using a parametric d...

ungefär 12 år ago | 0

Answered
How to get regression statistics for several run with different data sets?
Hey there The following code assumes that you have the 12a release of Statistics Toolbox. (In other words, I am using the ne...

ungefär 12 år ago | 0

Answered
Need help in getting a polynomial to go through 0,0
I'm attaching code that illustrates how to solve the problem using either Statistics Toolbox or base MATLAB. The Statistic ...

ungefär 12 år ago | 0

Answered
Matlab 2012a
Statistics Toolbox includes a lot of impressive new functionality for regression analysis. I'm attach code for a blog post th...

ungefär 12 år ago | 0

Answered
Constrained Polynomial Regression
The 12a release of Statistics Toolbox has some very nice new features for regression analysis. There is a new function named Li...

ungefär 12 år ago | 0

Answered
Constrained Polynomial Regression
Curve Fitting Toolbox allows you to specify constraints for individual regression coefficients. With this said and done, coul...

ungefär 12 år ago | 1

Answered
fitting curve to two points
Here's the rub... When you fit a second order Fourier series, you're estimating values for six different regression coefficie...

ungefär 12 år ago | 0

| accepted

Answered
fitting curve to two points
From the looks of things, your daily load curve is a particular example of a second order Fourier series. If you have Curve F...

ungefär 12 år ago | 0

Answered
Principal Component Analysis
The Statistics Toolbox product page has a good demo titled "Partial Least Squares Regression and Principal Components Regression...

ungefär 12 år ago | 0

Answered
nonlinear curve-fitting: weight vector
nlinfit in Statistics Toolbox # Uses Levenberg-Marquardt under the hood # Allows you to input a vector of weights See <ht...

ungefär 12 år ago | 0

| accepted

Answered
data management for large datasets
Have you looked into the dataset array that ships with Statistics Toolbox? The dataset array is a special data type that can ...

ungefär 12 år ago | 1

| accepted

Answered
Regression
Try the following X = linspace(1, 2*pi, 50); X = X'; Y = sin(X) + randn(50,1); foo = fit(X,Y, 'sin1'); ...

ungefär 12 år ago | 1

Answered
Multiple Regression under constraints
Lets start with the regression side of the problem: Given that you want to place constraints on your coefficients, you're goi...

ungefär 12 år ago | 1

Answered
Robust orthogonal or total least squares linear regression
Unfortunately, Statistics Toolbox doesn't currently offer a robust version of PCA. Your best option would probably be to us...

ungefär 12 år ago | 0

Answered
Histogram then a curve fitting to compare with normal
You might want to consult the following example: http://www.mathworks.com/products/statistics/demos.html?file=/products/demos...

ungefär 12 år ago | 0

Answered
Curve fitting - periodic function
Here's a pretty basic example X = linspace(0, 2*pi, 100); X = X'; Y = sin(X) + randn(100,1); foo = fit(X,Y, 's...

ungefär 12 år ago | 2

| accepted

Answered
Poisson random number generator
Mark Steyvers has written a nice book titled "Computational Statistics with MATLAB" which can be downloaded from http://psiex...

ungefär 12 år ago | 0

Solved


Add two numbers
Given a and b, return the sum a+b in c.

ungefär 12 år ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

ungefär 12 år ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

ungefär 12 år ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

ungefär 12 år ago

Answered
Constraining a fitted curve
I'd strongly recommend that you look at a file exchange submission by John D'Errico titled "Shape Modeling Language" http://w...

mer än 12 år ago | 0

| accepted

Answered
Curve fitting with fails misarebly
Couple comments: Curve Fitting Toolbox includes a lot of nice code that will automatically choose "good" starting points for ...

mer än 12 år ago | 1

Answered
How to remove outliers?
Hi Michael MATLAB doesn't provide a specific function to remove outliers. In general you have a couple different options to ...

mer än 12 år ago | 0

Answered
normal distribution test
Statistics Toolbox offers a number of hypothesis tests that you can use to (formally) test whether your data is normally distrib...

mer än 12 år ago | 1

Load more