Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

5 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

5 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

5 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

Solved


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

5 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Question


how to save figures without margin?
as the title, I need to save the figures or images shown in the figure with the same size of the image. but there are always ma...

6 years ago | 1 answer | 0

1

answer

Question


how to train Alexnet from scratch (without transfer learning)?
how to train Alexnet from scratch as the loaded one is pretrained. I need to compare with the performance on imagenet. Are th...

7 years ago | 1 answer | 0

1

answer

Answered
Why should I choose matlab deep learning toolbox over other opensource frameworks like caffe, onnx, pytorch, torch etc?
really hope support Generative and Network (GAN) framework soon!

7 years ago | 1

Question


where to find resizeImage2D ?
I searched the matlabroot, but do not find the function, and ' doc' and 'edit' command still find it. so where to find resizeI...

7 years ago | 1 answer | 0

1

answer

Question


Dose matlab really support interoperability with the open source deep learning framework.
i try import onnx model which is exported from pytorch as it is stated that in the link, https://ww2.mathworks.cn/solutions/dee...

7 years ago | 1 answer | 0

1

answer

Question


how is the in-line googlenet or inception v3 created using codes?
Hi, I need to create an NIN structure just like googlenet. so how to fulfill it in deep leaning toolbox? ( not with Deep Networ...

7 years ago | 1 answer | 0

1

answer

Question


how to create an network in network?
Hi, I need to create an inception module, which is an NIN structure. so how to fulfill it in deep leaning toolbox? ( not with D...

7 years ago | 0 answers | 0

0

answers

Question


what is the difference between backward and backwardloss in " Define a Custom Regression Output Layer " ?
In the demo of " Define a Custom Regression Output Layer " ( https://ww2.mathworks.cn/help/nnet/ug/define-custom-regression-outp...

7 years ago | 0 answers | 0

0

answers

Question


bug about trainNetwork for Trainning Convolutional Neural Network for Regression
as in demo of Trainning Convolutional Neural Network for Regression, "[XTrain,~,YTrain] = digitTrain4DArrayData; [XValidati...

7 years ago | 1 answer | 0

1

answer

Question


how to fulfill GAN (Generative Adversarial Networks ) or DCGAN in matlab?
I find that there is no example demo for GAN (Generative Adversarial Networks ) or DCGAN. I wonder how to fulfill GAN in mat...

7 years ago | 7 answers | 1

7

answers

Question


what is the difference between LayerGraph and DAGNetwork in deep learning?
I find that the data structure of LayerGraph and DAGNetwork in neural network toolbox have the same contents. So, is there any ...

7 years ago | 3 answers | 0

3

answers

Question


how to copy layers and connections from an existing neural network?
just installed the latest version and find the support for deep learning is better and better. here, i have a question. I want ...

7 years ago | 1 answer | 0

1

answer

Question


how to display the deep neural networks?
glad to see the effort for supporting deep learning toolbox. I wonder how to display the deep neural networks in matlab? Is it ...

7 years ago | 1 answer | 0

1

answer