Community Profile

photo

Ben McMahon


Last seen: ongeveer 2 jaar ago Active since 2021

Statistics

All
  • Knowledgeable Level 1
  • Thankful Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Unrecognized function or variable 'x'. Error in circular (line 3) if x == 'C' Error in mainapp (line 7) circular;
Your issue is that you have not told MATLAB what x is. Your function circular as it is written above has no idea what x, even if...

meer dan 2 jaar ago | 0

Answered
How to generate iid Gaussian noise vector
For your particular example as your covariance is idenity and your mean 0, this is a mulitvariate standard normal distrbuiton: ...

meer dan 2 jaar ago | 1

Answered
Is there a way to compute average norm after a series of trials?
I am a bit confused by your question, as is not defined. If you want to run your algorithim for a set number of randomly genera...

meer dan 2 jaar ago | 1

| accepted

Question


How can I read big-endian binary files with embedded coder?
I have a function in MATLAB that I am using to read some legacy binary files that use Big-endian format for bit ordering. It con...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

bijna 3 jaar ago