Community Profile

photo

Andrew Harris


Ryerson University

12 total contributions since 2015

Contact

Andrew Harris's Badges

  • First Review
  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

Question


Non-orthogonal 2D slice from 3D matrix
Hi, I'm hoping to be able to take a non-orthogonal 2D slice out of a 3D image matrix (such as that received from a CT or MRI). ...

4 years ago | 0 answers | 0

0

answers

Answered
GUIDE created file will not run in MATLAB R2015a
It turns out, because the project is object oriented, the guide created function would not run within the class folder for my ma...

5 years ago | 0

| accepted

Answered
Taking two arrays away from one another
Array subtraction requires that the number of elements agree. What is the relationship between these two sets of numbers?

5 years ago | 0

Answered
Error: File: Untitled.m Line: 4 Column: 6 The expression to the left of the equals sign is not a valid target for an assignment.
There are a few problems with this code. First is, I don't know what the curly braces are in there for, that's probably generat...

5 years ago | 0

Question


GUIDE created file will not run in MATLAB R2015a
Hi, is there a known issue with files created with the GUIDE tool in either R2015a or OSX (or the combination)? I create a new ...

5 years ago | 3 answers | 0

3

answers

Question


Translation of a function
This has to be simpler than I'm making it. I have a function f(x) = 1-abs(x) where -1<x<1 and f(x) = 0 otherwise. I want to eva...

5 years ago | 1 answer | 0

1

answer

Answered
Function running in batch() cannot find .mat file that is in MATLAB path
It turns out that the 'AdditionalPaths' value can't just be the pathdef value, it must explicitly define the path on which the f...

5 years ago | 0

| accepted

Answered
Is there a known issue with parfor loops in linux?
I fixed the issue by eliminating the parfor entirely, and using arrayfun: Pxx = arrayfun(@(n) pburg(arrays(:, :, n), p(n), ...

5 years ago | 0

| accepted

Question


Function running in batch() cannot find .mat file that is in MATLAB path
I am attempting to run a function file in a batch, and the batch has no problem finding all the additional functions in the fold...

5 years ago | 1 answer | 0

1

answer

Question


Is there a known issue with parfor loops in linux?
I have code that uses a parfor loop to iterate over arrays with the signal processing toolkit pburg function. It works fine in ...

5 years ago | 2 answers | 0

2

answers

Question


mex setup .rvm resource temporarily unavailable
I am attempting to set up mex in Matlab to compile CUDA codes, and when I type mex -setup at the command line I get a ...

5 years ago | 1 answer | 0

1

answer

Question


help using batch command
I am having difficulty using the batch command, it returns errors no matter how simple a script or function I give it. For inst...

5 years ago | 0 answers | 0

0

answers