Community Profile

photo

Yuan Li


Last seen: 20 días ago
18 total contributions since 2019

Yuan Li's Badges

  • Knowledgeable Level 2
  • Solver
  • First Answer

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!

alrededor de 1 año ago | 0 answers | 0

0

answers

Answered
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 ...

alrededor de 1 año ago | 0

| accepted

Answered
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]

alrededor de 1 año ago | 0

Answered
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]);

más de 1 año ago | 0

Answered
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...

más de 1 año 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 ...

más de 1 año 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:...

más de 1 año ago

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

más de 1 año 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...

más de 1 año ago

Answered
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...

más de 1 año ago | 0

Answered
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...

más de 1 año ago | 0

Answered
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...

más de 1 año ago | 0

| accepted

Answered
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.

más de 1 año ago | 0

| accepted

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

más de 1 año ago | 1

Answered
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 ...

más de 1 año ago | 0

| accepted

Answered
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.

más de 1 año ago | 0

| accepted

Answered
Averaging 3D matrix value and reshape
A = zeros(15,8,40); A = June21_Once_StillMat(1:end,2:9,1:end); A1 = mean(A,3); then you will get a 15by8 matrix(mabe you need...

más de 1 año ago | 0

Answered
Too many output arguments
I can get the result using r2014a. I used the same input in your screen shot.

más de 1 año ago | 0