Community Profile

# Yuan Li

##### Last seen: Today
18 total contributions since 2019

#### Yuan Li's Badges

View details...

Contributions in
View by

Question

The number of m sequence of the fixed length 2^n-1
I wanner know the number of m sequence for the fixed length 2^n-1. The related reference will help, too. Thank you very much!

6 meses ago | 0 answers | 0

### 0

How to cut dimensions of 3d arrays in a cell.
B = cell(34,1); for ii = 1:34 B{ii} = precips{ii}(700:720,300:360,:); end Then you will get a new cell, each element of ...

7 meses ago | 0

| accepted

Is there a command ( like "sort" for example ) arranges vector elements ascending ,max, descending (humped shap)?
Yes. Use sort. e.g. a = [1,3,2,4]; b = sort(a,'ascend');% b = [1,2,3,4] c = sort(a,'descend');% c = [4,3,2,1]

7 meses ago | 0

How to generate a rectangular signal or wave of ?( ?/6 ) using the sign function.
t = 0:0.1:100; a = sign(sin(pi.*t./6)); figure,plot(t,a); ylim([-1.5 1.5]);

7 meses ago | 0

What actually this code explains? where it is used and how to interpret it?
In the signal processing field, y is the power of signal x. the square of 2-norm of x can be seen as energy of x, numel(x) is t...

7 meses ago | 1

Solved

Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

7 meses 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:...

7 meses ago

How to select every nth value with the last value fixed from a column?
use a = original_vector(1:100:4901);

7 meses ago | 0

| accepted

Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

7 meses ago

How to break or split a line at NaN points in 1x15000 csv file?
You can start with finding the position of NaN, for example: a is your loaded data array; then use [m,n]=find(isNaN(a)); you...

7 meses ago | 0

About complex variables functions,a a ridiculous problem! who can help me?
You need to refer the Complex Function to answer the question. The second step to the third step is not like that in complex fun...

7 meses ago | 0

How can I change where a variable is placed within the field width using fprintf?
fprintf(fid,['%' num2str(length(q.labels{i})) 's\t'],q.labels{i}); change the code in the for loop will help you solve the prob...

7 meses ago | 0

| accepted

How can i find the BER of 4-QAM ?
In the matlab command window, type "bertool", and choose some specific options, then you will get your curve.

7 meses ago | 0

| accepted

Fill a vector based on another vector
A(1:sum(B(:))) = 0; I hope the code can help you.

7 meses ago | 1

taylor series using forward method
I can't figure out the relationship between the following codes: f(i)=(f(x + h(i)) - f(x))/ (h(i));% evaluating the derivative ...

7 meses ago | 0

| accepted

For Loop using in an array to find the value one by one
Use matrix operation directly. F = 0.4*20 + A; Then, F will be the vector you want.

7 meses ago | 0

| accepted