Community Profile

photo

Tony


Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • 5-Star Galaxy Level 1
  • First Submission
  • Thankful Level 3

View badges

Feeds

View by

Question


Error using the randi function
Here is my code: function EPS Score=zeros(1,20); X=[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1]; for j=1:20 ...

6 years ago | 1 answer | 0

1

answer

Question


Issue with making an array
Here is my code: function Tfunc(a,b) a = (-(a-1)/a); b = (-(b-1)/b); for i = 1:30000 Approximation_...

8 years ago | 1 answer | 0

1

answer

Question


Syntax for work space output and multiple variables to work space
Hi, I am trying to run a program and output more than one variable. Not sure on the syntax, but here is what I am going for: ...

8 years ago | 1 answer | 0

1

answer

Question


How do I create a header with many elements, but has function outputs in it as well?
I am trying to create a header for a large matrix. The matrix looks something like this: A = [100, 101, 102, ..., 999 ...

8 years ago | 1 answer | 0

1

answer

Question


Why is the 'sum' function also outputting elements of my matrix?
I have a column vector that I am trying to take the sum of, but I want it to display only the sum. Every time I use the sum func...

8 years ago | 1 answer | 0

1

answer

Question


Is there a way to change format of Mat lab workspace?
Hi, so I used the function 'format bank' in the *command window* before running my code. After running my code, it sends my data...

8 years ago | 1 answer | 0

1

answer

Submitted


Primitive Root Function w/ Euler's Totient
My own developed code to find the primitive roots of a number

8 years ago | 1 download |

Question


Possible to mod a number in the middle of a cycle?
Here is a portion of my code I need help with: for m = 1:k for j = 1:FEE number = m.^j; if number >= 10...

8 years ago | 2 answers | 0

2

answers

Question


Cannot find where I am hitting recursion limit
Hi, matlab continues to tell me that I am getting a recursion limit problem with this code and I can't seem to see where my code...

8 years ago | 1 answer | 1

1

answer

Question


Help with calling functions / too many outputs?
Hi, here I have listed two functions, the first (part of PR) which calls the second (phi) on the last line. Every time I try...

8 years ago | 1 answer | 0

1

answer

Question


Why is my modulus messing up?
Here is my code, it is my own take on creating Pollard's method using Matlab. For most numbers it works great, but if you use a ...

8 years ago | 1 answer | 0

1

answer

Question


How to track numbers in the MATLAB excel sheet?
I asked a function to run which produces a lot of numbers which I then can see in the MATLAB excel sheet. Is there a way to find...

10 years ago | 1 answer | 0

1

answer

Answered
Need help with leading zeroes being eaten in my function
Thanks guys, give me a few days to work with these methods and I will get back to you soon.

10 years ago | 0

Question


Need help with leading zeroes being eaten in my function
I have a function that re arranges digits of a number and then subtracts them, but if the number is a single digit, I want it to...

10 years ago | 3 answers | 0

3

answers