Community Profile # Jianshe Feng

12 total contributions since 2016

Machine Learning PhD Student. Interested in Application of Machine Learning in Stat, Econ, and Precision Manufacturing Process.

View details...

Contributions in
View by

Solved

Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

2 years ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

2 years ago

Solved

Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...

2 years ago

Question

I noticed that there are some syntax about how to "randomsample", for example" y = randsample(n,k) y = randsample(popula...

3 years ago | 1 answer | 0

### 1

Why do I get a warning about 'Integer Operands Are Required for Colon Operator When Used as Index' ?
One supplement is that this is not an error, but it's really annoying and very time-consuming!!! I tried to recreate this warni...

3 years ago | 1

Question

Did any one receive the Mathworks T-shirt or hat from MATLAB Central Scavenger Hunt competition?
Greetings guys, I was so lucky that chosen to win a MathWorks T-shirt or hat from MATLAB Central Scavenger Hunt competition. ...

3 years ago | 0 answers | 0

### 0

Question

Where can I find the datasets "digitTrainCellArrayData"
Hi all, Now I am running the MATLAB sample code for "Train Stacked Autoencoders for Image Classification". The codes are as b...

3 years ago | 1 answer | 0

### 1

Question

How to run som_demo4 in somtoobox? Thank you~
Hi guys, I am learning SOM these days, when I run som_demo4.m in somtoolbox downloaded from http://www.cis.hut.fi/somtoolbox/...

3 years ago | 1 answer | 0

### 1

Repeat element of a vector n times without loop.
ind = [1;1;1;2;2;2;3;3;3]; x(ind)

3 years ago | 0

Repeat element of a vector n times without loop.
y = repmat(x,1,3); y = transpose(y); y = y(:);

3 years ago | 0

Solved

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

3 years ago

Question

Error when Zoom in
Hi guys, Here is my problem: I plotted a figure and wanted to zoom in to see some details. However, the error showed up: ...

3 years ago | 1 answer | 0