Community Profile

photo

Angus Wong


Active since 2018

Followers: 0   Following: 0

Programming Languages:
C
Spoken Languages:
Chinese

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver
  • Thankful Level 3

View badges

Feeds

View by

Question


Matlab Report Generator (Unknown Error to me)
Hi, This is a section of my code in which Matlab 100% throws an error that I don;t know why and how. Can anyone give me some su...

4 years ago | 1 answer | 0

1

answer

Question


Problem using solve (Symbolic Toolbox)
I encountered a problem in which: I expect it to return -2*t*L^3/15. The unfinished code is as follows, with the input of s...

4 years ago | 2 answers | 0

2

answers

Question


Transforming from Maclaurin to Taylor
I have a polynomial function in terms of x, in which the highest power never exceeds 6. This function will look like a Maclaurin...

4 years ago | 1 answer | 0

1

answer

Question


3D matrix (I guess is an indexing question?)
I have a 9x9x9 matrix (simple). It is created by: matr=zeros(9,9,9); for ct=1:9 matr(:,:,ct)=ct; end I then type: (st...

4 years ago | 1 answer | 0

1

answer

Question


Generate random numbers from a vector
I would like Matlab to give me a number from a given row vector, such as: A=[1 3 5 9 100 150 658 999]; Matlab would either giv...

4 years ago | 1 answer | 0

1

answer

Question


A question related to subs in ode (symbolic maths toolbox)
I have a line: ode=diff(y,x)==x+y; I want matlab to calculate diff(a,b), given a and b are real numerical values. However, the...

5 years ago | 1 answer | 0

1

answer

Question


A problem related to symbolic function.
I know that if a want to check if a variable is a function handle, then I can use isa(fun,'function_handle'). What should I typ...

5 years ago | 1 answer | 0

1

answer

Question


I am having problems in anonymous function (y=@(x)(...))
Let me re-word my querry. Let's say there is a square matrix of v=[1 2 3 4 5 6 78 9 10; 11 12 13 14 15 16 17 18 19 20;21 22 23 ...

5 years ago | 1 answer | 0

1

answer

Question


I am struggling to use sprint
Hi, I have a problem regarding the use of sprintf. Inside a user-defined function (which I can edit), the output is "A" an...

5 years ago | 1 answer | 0

1

answer

Question


Convert number to string problem
I would like to ask if there is a way to output a number, which is stored as a variable, using simple commands, as shown in the ...

5 years ago | 2 answers | 0

2

answers

Question


An "if-loop" and "for-loop" problem
Please help. I am trying to make a nested for-loop with a if-loop inside as follows: S=0; for i=1:10 for j=(i+1)...

6 years ago | 1 answer | 0

1

answer

Question


Problem on code while plotting a graph
I am plotting a graph, with the line: figure; hold on ; ..... title('function'); ..... hold off; But I end...

6 years ago | 1 answer | 0

1

answer