解決済み


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

約9年 前

解決済み


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

約9年 前

回答済み
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 ...

約9年 前 | 5

| 採用済み

回答済み
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...

約9年 前 | 2

| 採用済み

回答済み
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...

約9年 前 | 2

| 採用済み

回答済み
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...

約9年 前 | 1

回答済み
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...

約9年 前 | 3

回答済み
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...

約9年 前 | 3

回答済み
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...

約9年 前 | 2

| 採用済み

回答済み
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 ...

約9年 前 | 3

| 採用済み

回答済み
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 ...

約9年 前 | 3

回答済み
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...

約9年 前 | 3

回答済み
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年以上 前 | 3

回答済み
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年以上 前 | 3

回答済み
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年以上 前 | 3

回答済み
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年以上 前 | 2

回答済み
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年以上 前 | 3

回答済み
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年以上 前 | 3

| 採用済み