回答済み
how can fix this problem with matrix ?
Hi, May be after modification you vector became a column vector. Try M(1,:) = vector'; If this doesn't work, provide t...

5年以上 前 | 0

回答済み
Generate rand of two specific numbers and not a range
Hi, One way for this is as below val = [1,50]; r = randi([1, 2], 1); % Get a 1 or 2 randomly. Value = val(r) ; Re...

5年以上 前 | 0

| 採用済み

回答済み
convert 2D image to 3D image please
Hi, This thread might help you <https://www.mathworks.com/matlabcentral/answers/31647-how-to-convert-2d-image-into-3d>

5年以上 前 | 0

回答済み
How to concatenate GRAYSCALE and RGB images?
Hi, If just want to stitch them you can try using the <https://www.mathworks.com/help/images/ref/montage.html montage()> funct...

5年以上 前 | 2

| 採用済み

回答済み
Why matlab only fives one complex result?
Hi, MATLAB cannot generate all the Solutions, which might require a global solver. However, if you have the Extended Symb...

5年以上 前 | 0

回答済み
I have installed simulink and simscape 2019a, but unable to install simscape Multibody
Hi, Contact your sales representative to resolve the issue. If you don’t know your sales representative is MathWorks support ...

5年以上 前 | 0

回答済み
Error: Array indices must be positive integers or logical values
Hi, MATLAB indices start from 1. In your code I think error is in x_t(t(i)) of the mentioned line. When i=1, t(i) = 0 which i...

5年以上 前 | 0

回答済み
How to superimpose multiple images and then save the figure?
Hi, The link below explains in detailed <https://www.mathworks.com/matlabcentral/answers/100086-how-do-i-superimpose-images-...

5年以上 前 | 0

回答済み
Why can't I drag the line when using imdistline?
Hi, It should work as expected. Check the usage section of the following link for a better reference <https://ww2.mathwork...

5年以上 前 | 0

回答済み
Tracing Outline: Binary Image
Hi, You can try using the <https://www.mathworks.com/help/images/ref/bwtraceboundary.html bwtraceboundary()> for tracing the ou...

5年以上 前 | 0

回答済み
i am getting error while predicting image??
Hi, The issue might be due input image resolution. alexnet expects an input of size 227*227*3. The image you are passing may ...

5年以上 前 | 1

| 採用済み

回答済み
how to set detection threshold for ORB features
Hi, You can set the detection threshold either by setting the Metric or Count Name-Value arguments in the <https://www.math...

5年以上 前 | 0

| 採用済み

回答済み
Is there any "regression" output layer equivalent to pixelClassificationLayer?
Hi, I would recommend you trying the MATLAB way to network. Where you can convert to your layers to a <https://www.mathworks.co...

5年以上 前 | 0

回答済み
i have a datset name as dec_table (150,5) and a new_att(150,1) and i want to combine these two to make new_dec_table?
Hi, In your case <https://www.mathworks.com/help/matlab/ref/horzcat.html horzcat> would work. Try new_dec_table = horzc...

5年以上 前 | 0

回答済み
How make low resolution image to become high resolution??
The second argument can be the scale with which you want to resize the image or the size to which you want it to be resized. Als...

5年以上 前 | 0

| 採用済み

回答済み
How make low resolution image to become high resolution??
Hi, You can try using <https://www.mathworks.com/help/matlab/ref/imresize.html imresize()> function to adjust the resolution of...

5年以上 前 | 0

回答済み
MATLAB keeps running out of memory during video processing (Stereo vision)
Hi, By default, MATLAB can use up to 100% of the RAM (not including virtual memory) of your computer to allocate memory for arr...

5年以上 前 | 0

回答済み
(Depth estimation) The rectified images do not have enough common rectangle region
Hi, First try the following in your code. [frameLeftRect, frameRightRect] = rectifyStereoImages(frameLeft, frameRight, ste...

5年以上 前 | 0

回答済み
Matlab 2015b with Windows 10
Hi, Contact your sales representative to get detailed understanding about your license terms. If you don’t know your sales re...

5年以上 前 | 0

| 採用済み

回答済み
Using Labels with transformed imagedatastore in 3d CNN.
Hi, To transform the datastore you can use the augumentedImageDatastore function. This not only supply label information but ...

5年以上 前 | 0

| 採用済み

回答済み
How to create nnet.layers usable for custom training loops as well as trainNetwork?
Hi, As you mentioned the fullyconnect applies fully connect operation to dlarray data. For your custom layer to be made compa...

5年以上 前 | 0

回答済み
solving Non Linear optimization problem with fmincon
Hi, Yes, the code correctly implements the optimization function presented.

5年以上 前 | 0

| 採用済み

回答済み
Deep Learning Toolbox Model for VGG-16 Network installation prompt unable to download third-party software
Hi, There is no VGG 16 toolbox in MATLAB. MATLAB provides pretrained VGG 16 network which is included Deep Learning Toolbo...

5年以上 前 | 0

回答済み
fminunc stopped because it cannot decrease the objective function
Hi, fminunc is a derivative based optimizer. If the objective function has discontinuities or have multiple optimums then is s...

5年以上 前 | 0

回答済み
SLAM algorith with Lidar
Hi, In the case of SLAM with lidar Scans, the SLAM algorithm takes in lidar scans and attaches them to a node in an underlying...

5年以上 前 | 0

回答済み
Lower bound in fmincon
Hi, Than setting the precision of the output of the fmincon, you can use the below given work around(as you want to set this o...

5年以上 前 | 0

回答済み
How to replace for loop with vectorization?
Hi, You can eliminate the for loop by using the code below. ii = [1 ; 2 ; 3 ; 1 ; 3 ; 4]; res = [-1 -1 1 ; -1 -1 1 ; -1 -1 1...

5年以上 前 | 0

| 採用済み

回答済み
hyperparameter tuning Neural network
Hi, You cannot directly optimize for the parameters you mentioned using Bayesian optimization. A possible work around would...

5年以上 前 | 0

回答済み
Deep Learning Toolbox: Inputs and Outputs
Hi, If the network also has multiple inputs and outputs, then you must define the network as a function and train the network ...

5年以上 前 | 0

回答済み
How to get my 2D perceptron to converge évery time?
Hi, By looking at the code, I understand that you haven’t included the bias and it just consist of weights. Try adding the bia...

5年以上 前 | 0

さらに読み込む