photo

Zhuoying Lin


Last seen: oltre 4 anni fa Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


How do I swap the elements in two arrays?
Hi, I have these two arrays: a={'sin', {0, '2*pi', 'pi/100'}, logical([0 1 1 0])}; b={'cos',{'-pi','pi','pi/15'},logical([...

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


How to create a subcell?
Hi, I have trouble creating a subcell within a cell array, can someone help me? I am supposed to type: [sin] [[0][2pi][pi...

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


Approximation not falls within the expected range
Here's my script: n=1; while abs(pi-sum(4./((2*(1:n)-1).*(-1).^((1:n)+1))))>0.001 n=n+1; end fprintf('Th...

circa 7 anni fa | 0 risposte | 0

0

risposte

Domanda


No result for while loop Statement
Matlab remains busy running my script forever, what's wrong with my script? n=1; while abs(pi-sum(4./((2*(1:n)-1)*(-1).^(n+...

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


Error Undefined x!
In my script, I call a function _value_ to input values and put the input in another function _integrnfn_: [A,x1,x2]=value;...

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


How to write a script for the following?
1 x 8 + 1 = 9 12 x 8 + 2 = 98 123 x 8 + 3 = 987 1234 x 8 + 4 = 9876 12345 x 8 + 5 = 98765 123456 x 8 + 6 = 9876...

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


How do I verify a statement and display the resulting matrix that consists of logical 1 or 0?
Hi, here is the question: Write the statement which verifies whether D is a symmetric matrix. Display the resulting matrix matl...

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


Why when I put legend for 3 functions it only shows 1 on the graph?
Hi, below is my script: x=linspace(0,2*pi,100); y1=1-x.^2/factorial(2); y2=y1+x.^4/factorial(4); y3=co...

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


type if x is a square matrix statement
Hi, How do I write the script for "If x is a square matrix funcz will be the 0"? Thanks!

circa 7 anni fa | 3 risposte | 1

3

risposte