Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Respondida
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 ...

más de 9 años hace | 5

| aceptada

Respondida
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...

más de 9 años hace | 2

| aceptada

Respondida
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...

más de 9 años hace | 2

| aceptada

Respondida
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...

más de 9 años hace | 1

Respondida
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...

más de 9 años hace | 3

Respondida
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...

más de 9 años hace | 3

Respondida
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...

más de 9 años hace | 2

| aceptada

Respondida
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 ...

más de 9 años hace | 2

Respondida
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 ...

más de 9 años hace | 3

| aceptada

Respondida
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 ...

más de 9 años hace | 3

Respondida
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...

más de 9 años hace | 3

Respondida
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...

más de 9 años hace | 3

Respondida
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 '...

más de 9 años hace | 3

Respondida
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. ...

más de 9 años hace | 3

Respondida
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...

más de 9 años hace | 2

Respondida
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 ...

más de 9 años hace | 3

Respondida
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...

más de 9 años hace | 3

| aceptada