A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Réponse apportée
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 ...

plus de 9 ans il y a | 5

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 1

Réponse apportée
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...

plus de 9 ans il y a | 3

Réponse apportée
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...

plus de 9 ans il y a | 3

Réponse apportée
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...

plus de 9 ans il y a | 2

| A accepté

Réponse apportée
I'm trying to create a function to calculate option price under Black-Scholes model. But it keeps saying that there is a mistake on d1; I double check it, but I can't find a mistake in there. Perhaps there is other thing I'm missing?
In the line d1=(log(So/X)+(R-d+0.5*v^2)*t)/(v*sqrt(t)); What is 'So' ?, it seems to be undefined. I think it should be ...

plus de 9 ans il y a | 2

Réponse apportée
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 ...

plus de 9 ans il y a | 3

| A accepté

Réponse apportée
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 ...

plus de 9 ans il y a | 3

Réponse apportée
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...

plus de 9 ans il y a | 3

Réponse apportée
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...

plus de 9 ans il y a | 3

Réponse apportée
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 '...

plus de 9 ans il y a | 3

Réponse apportée
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. ...

plus de 9 ans il y a | 3

Réponse apportée
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...

plus de 9 ans il y a | 2

Réponse apportée
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 ...

plus de 9 ans il y a | 3

Réponse apportée
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...

plus de 9 ans il y a | 3

| A accepté