Community Profile

photo

Zhuoying Lin


Last seen: más de 3 años hace Con actividad desde 2017

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 6 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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!

más de 6 años hace | 3 respuestas | 1

3

respuestas