Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8 years ago

Solved


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

8 years ago

Answered
How can I export app data in the workspace?
There are multiple options. You can use one of the following * assignin * export2wsdlg. * save it in a mat file. Please ...

8 years ago | 5

| accepted

Answered
How to operate cplex on matlab?
This issue can arise if the MEX-file depends on a shared library that also ships with MATLAB. This is an unsupported workflow an...

8 years ago | 2

| accepted

Answered
I want to use vgg16 for grayscale images with one channel
Since VGG16 is a pretrained model its input configuration cannot be changed.You can copy the first Chanel values to other two ch...

8 years ago | 2

| accepted

Answered
Using Spectrum analyzer in Simulink
As you can see the power is around -50dBm (10^-8 watt) which is very very less. So the effective signal strength is contained on...

8 years ago | 1

Answered
Why am I getting a ''Failed to start parallel pool'' error in Matlab 2016b?
It is a known bug in MATLAB. Please try the following patch specified in the following link <https://www.mathworks.com/suppor...

8 years ago | 3

Answered
How to use trainpso to train a neural network model
The first argument for the function seems to be a neural network object. It will have a property called ' *inputs*' and ' *outpu...

8 years ago | 3

Answered
Centering data in PCA - PC1 does not pass through 0
I think you are mixing up something. The *pca()* documentation says " by default, pca centers the data and uses the singular val...

8 years ago | 2

| accepted

Answered
Using results from plsregress to determine unknowns
You can just add a bias column (column of ones) to your X_validate matrix and multiply with beta. Sample code can be as follows ...

8 years ago | 3

| accepted

Answered
In the Support Vector Regression, where can i see or identify the solved function?
According to my understanding you are trying to plot the learned function from the svm regression. You can do this by accessing ...

8 years ago | 3

Answered
Double Summation For two point correlation
I think the simpler way is to do using two for loops. d_sum=0; for i=1:length(D) x=D(i); for j=1:len...

8 years ago | 3

Answered
Help with Neural Network and Multiple inputs, (time series)
Please go through the following example link. Especially ' *Multiple External Variables*' section seems to be related to your pr...

9 years ago | 3

Answered
How to perform a Maximum Likelihood parameter estimation using simulink?
You can use the MATLAB function block in Simulink. Inside the function block you can call MATLAB's maximum likelihood function '...

9 years ago | 3

Answered
How to compute multiple numerical derivatives with different step sizes all at once
From your question I understand that you want to calculate derivative using multiple step sizes.This can be done in many ways. ...

9 years ago | 3

Answered
Why an error occurs in cmunique with images with colour palettes larger than 256*256 colours?
It seems MATLAB has an issue with this function. I recommend you to use ' _rgb2ind_ ' function instead. Document link for the f...

9 years ago | 2

Answered
Matlab Neural Network toolbox: How to define one-by-one connection between neurons of two subsequent layers?
As of now MATLAB supports only fully connected layers. However there are workarounds possible. Please go through the following ...

9 years ago | 3

Answered
What is the meaning of loss() and predict() in the case of random forest?
From your question I understand that you are trying to fit a random forest classifier on your training data. I assume that ' _tr...

9 years ago | 3

| accepted