Community Profile

photo

Hokkien


Last seen: 2 månader ago Active since 2020

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Avoid "for", "if" and "else" loop
Hi I have a code like this: If there any way, that I can avoid for, if else loop? For now the k = 22, but most of the time and ...

2 månader ago | 1 answer | 0

1

answer

Question


Out of Memory. Infinite Recursion.
Hi all, I tried to run polylog with a set of matrix: Li = polylog(2,QED1); % QED1 is a (8887 x 1000) matrix. but...

3 månader ago | 1 answer | 0

1

answer

Question


Better Loop Structure to Execute Faster
Hi everyone, I have a sample loop as below: tic; for k=1:3500 for j=1:10000 A(j,k)=B(j,k)/(C(j,1)*0.001); end ...

7 månader ago | 1 answer | 0

1

answer

Question


How to sum from a particular cell to last cell in a single row.
Hi all! I wish to sum from particular cell to last cell in a single row. Example: I have a row A with values = [1 5 7 1 3 ...

8 månader ago | 1 answer | 0

1

answer

Question


How can I create matrix with parameter?
I wish to create a matrix based on different energy and its maximum recoil energy. The maximum recoil energy formula is T_max =...

ungefär ett år ago | 1 answer | 0

1

answer