Community Profile

photo

Hokkien


Last seen: ungefär 2 år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Color certain area of normal distribution
Hi all, I have two normal distributions as below: y = normpdf(x,57565.67,1743.56); y1 = normpdf(x,54908.02,1663.82); I wou...

ungefär 2 år ago | 2 answers | 0

2

answers

Question


Return first few values to zero in a row
Hi I would like to change only the first few values in a row to zero? For example I have matrix A=[1 2 4 5 6 7 8 9 0 2 3 4 5 6]...

mer än 2 år ago | 2 answers | 0

2

answers

Question


If statement without loop
Hi there are two questions I wish to ask: First, I would like to use if else statement without the loop. Here is my attempt wit...

mer än 2 år ago | 2 answers | 0

2

answers

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

mer än 2 år 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...

mer än 2 år 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 ...

nästan 3 år 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 ...

ungefär 3 år 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 =...

mer än 3 år ago | 1 answer | 0

1

answer