Community Profile

photo

Yuan Li


17 2019 年以降の合計貢献数

Yuan Li's バッジ

  • Knowledgeable Level 2
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
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 ...

約1ヶ月 前 | 0

| 採用済み

回答済み
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]

約1ヶ月 前 | 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]);

約2ヶ月 前 | 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...

約2ヶ月 前 | 1

解決済み


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

約2ヶ月 前

解決済み


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

約2ヶ月 前

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

約2ヶ月 前 | 0

| 採用済み

解決済み


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

約2ヶ月 前

回答済み
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...

約2ヶ月 前 | 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...

約2ヶ月 前 | 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...

約2ヶ月 前 | 0

| 採用済み

回答済み
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.

約2ヶ月 前 | 0

| 採用済み

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

約2ヶ月 前 | 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 ...

約2ヶ月 前 | 0

| 採用済み

回答済み
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.

約2ヶ月 前 | 0

| 採用済み

回答済み
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...

約2ヶ月 前 | 0

回答済み
Too many output arguments
I can get the result using r2014a. I used the same input in your screen shot.

約2ヶ月 前 | 0