# Yuzhen Lu

**Statistics**

**MATLAB Answers**

**28** Questions

**0** Answers

RANK**229.842**

of 273.153

REPUTATION**0**

CONTRIBUTIONS

**28** Questions

**0** Answers

ANSWER ACCEPTANCE **
35.71%
**

VOTES RECEIVED**0**

RANK

of 18.447

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122.571

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Matlab display images oriented by 180.

I am using imshow to display an image. It is found the image rotated by 180 . When I look at the meta by imfinfo. there is an or...

meer dan een jaar ago | 3 answers | 0

### 3

answersQuestion

Plot 3D scatter plots in a subplot

It seems subplot does not support 3-D scatter plot using plot3.m or scatter3. For example, the following codes won't work subpl...

bijna 2 jaar ago | 0 answers | 0

### 0

answersQuestion

Cross validation settings for Classification Discriminant models

I foumd the 'KFold' in classification models can not be controlled when 'HyperparameterOptimizationOptions' is enabled. Here is ...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

QR decomposition with the output of a permutation vector

It is noted that the Matlab syntax for qr decomposition (https://www.mathworks.com/help/symbolic/qr.html#d120e152496): [Q,R,P]...

meer dan 2 jaar ago | 1 answer | 0

### 1

answerQuestion

The calculated R squared is not equal to the squared of correlation coefficient by Matlab functions corr

With model predicitons and true values, the R2 (determiantion coefficient) can be readily calculated using the standard formula:...

bijna 3 jaar ago | 2 answers | 0

### 2

answersQuestion

Error using struct2handle Cannot find an exact (case-sensitive) match

I am runing a gui program developed in an older version of Matlab which was case-insensitive. To run the program, I have changed...

bijna 3 jaar ago | 0 answers | 0

### 0

answersQuestion

The input hyperparameters for a ClassificationDiscriminant classifier are different from those retrieved from the trained model

I am training a discriminant model using fitcdiscr function. discrMdl = fitcdiscr(Xtrain,Ytrain,'discrimType','linear','ClassN...

bijna 3 jaar ago | 0 answers | 0

### 0

answersQuestion

How to deal with imbalanced dataset classification by support vector machine

I have a dataset that is heavily skewed in one class. The training with support vector machine (SVM), by either fitcsvm.m or fit...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Matlab tril function does not work as expected

I am using Matlab2019a. When I was using tril an triu functions for generating triangular matrix, they ony give single values. H...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to change the displayed axis ticks with self-defined values

Here is an image diplayed wih the function imagesc. The x and y axises are consistent with the image size, but I want to replace...

bijna 3 jaar ago | 0 answers | 0

### 0

answersQuestion

What is the difference between bilinear image resizing and averaged downsampling

I note imresize has the method option 'bilinear'. Does this method have the same effect as averaged downsampling? For example, g...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Get the masks of the region between two lines

Here is an image where two lines are drawn. I want to generate a binary mask for the region enclosed by the two lines. Is there ...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to perform robust line fitting in a binary image

I am going to find the the best line for a binary image display below. When I use curve fitting functions, i.e., polyval or robu...

bijna 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to extract numeric values from char

I have 9*1 column cell C. Here is the contents: {'{"name":"rect","x":101,"y":30,"width":239,"height":244}'} {'{"name"...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

How to peform multiple paired-t tests

To my knowledge ttest.m can be used to peform a single parired t test, e.g., ttest(x,y), and the function can also be used f...

bijna 4 jaar ago | 1 answer | 0

### 1

answerQuestion

how to add a dynamically updated progress bar in a GUI window

I am trying to add a dynamic progress bar in a GUI. I note there are some solutions available (How to add progress bar control t...

ongeveer 4 jaar ago | 0 answers | 0

### 0

answersQuestion

How to fix coding method (e.g.,'onevsall') in performing hyperparameter optimzation in multi-class svm (i.e., fitcecoc.m)

The function fitcecoc.m allow to optimize hyperparamters for multi-class svm by seting up the parameter-vlaue pairs for 'Optimiz...

meer dan 4 jaar ago | 1 answer | 0

### 1

answerQuestion

Faster rcnn with Caffe: Matlab encounters an intenral problem and needs to close

This post is same as that I post in Stackoverflow at <https://stackoverflow.com/questions/50798740/faster-rcnn-with-caffe-cannot...

meer dan 4 jaar ago | 0 answers | 0

### 0

answersQuestion

Object alignment for a moving object in the two consecutiely acquired images

I have two images acquired from a moving object. The object is moving in a fixed direction (from left to right in the image) in ...

bijna 5 jaar ago | 0 answers | 0

### 0

answersQuestion

Why does hilbert tranformer give a phase-shifted but amplitude-reduced signal?

I have performed hilbert transform by using a FIR hilbert filter rather than the matlab built-in hilbert function. An example co...

ongeveer 5 jaar ago | 1 answer | 0

### 1

answerQuestion

How to perform Hilbert transform by using fir hilbert transformer coefficient

I just read a paper which gives a 7-element FIR Hilbert transformer: [-0.1270413, 0 -0.6012845, 0, 0.6012845, 0, 0.1270413...

ongeveer 5 jaar ago | 0 answers | 0

### 0

answersQuestion

Use low-level functions (not imread.m) to read an grayscale image

I try to use low-level functions (fopen.m and fread.m) to read a grayscale image of uint16 in tiff format as follows: fid...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

Plot a 3D matrix for a three-dimensional object

I have obtained a 3D matrix A(:,:,3) for the geometry of an object. A(:,:,1) is a matrix corresponding to x coordinates in the w...

bijna 6 jaar ago | 4 answers | 0

### 4

answersQuestion

2D interpolation in a specific region in a given image

I am going to perform two-dimensional (2D) interpolation in a region of interest (ROI) in an image as shown below. <</matlabc...

ongeveer 6 jaar ago | 1 answer | 0

### 1

answerQuestion

Image segmentation of a fringe pattern image to extract the fringe area

I am going to extract the fringe area from a fringe pattern image shown below. The image is highly contrasted with distinctive b...

ongeveer 6 jaar ago | 1 answer | 0

### 1

answerQuestion

Matlab how to read txt data in a specific format into the workspace

My txt file is organized in the following format: image filename n (number of objects of interest in the image) boun...

meer dan 6 jaar ago | 1 answer | 0

### 1

answerQuestion

how to convert a decimal number within (0, 255) to a 8-bit binary number?

Assume a decimal number 100, it should be converted to 01100100 rather than 01100100 by dec2bin.m. Is there any efficient way...

meer dan 6 jaar ago | 1 answer | 0

### 1

answerQuestion

how to generate a color histogram by concatenating the higher order two bits of each color component

I want to use matlab to generate a color histogram. The standard way to do that is to concatenate the higher order two bits for ...

meer dan 6 jaar ago | 3 answers | 0