photo

Alec Jacobson


University of Toronto

Last seen: 3 months ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Knowledgeable Level 1
  • Revival Level 1
  • Personal Best Downloads Level 3
  • First Review
  • 5-Star Galaxy Level 4
  • GitHub Submissions Level 1
  • First Submission
  • First Answer

View badges

Feeds

View by

Question


Why does abs cause bad matlabfunction evaluation?
If I run x = sym('x','real'); y = sym('y','real'); f = abs(((x - 1)^2 + y^2)^(1/2) - 1)^2 + ((x^2 + y^2)^(1/2) - 1)^2; d2fdx...

10 months ago | 3 answers | 1

3

answers

Answered
Weird behavior regarding pi in symbolic expressions
@Walter Roberson's syms pi Pi = sym('pi'); answers aren't 100% satisfying because they are not really associating that variab...

1 year ago | 0

Question


Why does converting in and out of LongBits introduce error?
In Java, double value = 0.007168281523489443; double res = java.lang.Double.longBitsToDouble(java.lang.Double.doubleToLongBi...

2 years ago | 1 answer | 0

1

answer

Question


How to imshow to display colors consistently with other mac apps?
This appears to be a long standing issue but the question from 2015 didn't make much progress or reproduce easily. Here's what I...

2 years ago | 0 answers | 0

0

answers

Question


Matlab equivalent of Maple's remove_RootOf
I have a symbolic expression of the form root(…). I'd to recover the operand as a symbolic expression itself. I believe this wou...

2 years ago | 1 answer | 0

1

answer

Answered
Discrete Laplacian on a triangle mesh
L discretizes the integrated discrete Laplacian in the sense that: x' * L * x discretizes Dirichlet energy: ∫ ‖∇x‖² dx. Via Gre...

3 years ago | 0

| accepted

Submitted


gptoolbox
Useful functions for geometry processing, constrainted optimization and image processing.

3 years ago | 26 downloads |

Thumbnail

Answered
Using print to export matlab figures to pdf: How to KEEP borders (and not crop them)
This question has been asked many times with zero answers that I could find. Here's a hacky partial work around for 2D plots whe...

4 years ago | 0

Question


MATLAB 2020b does not reload .m file edited outside of matlab until after running
I typically edit .m files outside of the matlab ide (using vim). Up until 2020b this was never an issue. In 2020b, if I make a c...

4 years ago | 1 answer | 0

1

answer

Question


Is it possible to recover *the* decomposition that's ultimately employed by mldivide (backslash)?
If I issue: spparms('spumoni',1); A\b; Then I can see the decision made by mldivide on how to solve against A. In my case it ...

4 years ago | 1 answer | 3

1

answer

Answered
Trouble reading csv file
I ran into this issue copy-pasting data in excel into a new sheet and saving as .csv. Seems on mac, this maneuver triggers Exce...

4 years ago | 0

Answered
Wait a boolean variable becomes false
The accepted answer will cause your CPU to spin (wasting precious power and computational resources). Instead, I found a "hack"...

5 years ago | 0

Answered
Can imread input animated gifs written using imwrite?
It seems like this is broken ... on purpose. In /Applications/MATLAB_R2017a.app/toolbox/matlab/imagesci/private/readgif.m...

7 years ago | 1

Question


Can imread input animated gifs written using imwrite?
I've written an animated gif test.gif using imwrite: sphere frame = getframe(gcf); [SIf,cm] = rgb2ind(frame.cdata,256...

7 years ago | 1 answer | 0

1

answer

Answered
In MATLAB, how do I obtain information about my screen resolution and screen size?
On my macbook air, if I issue On my macbook air, if I issue set(0,'units','pixels') get(0,'ScreenSize') I get ...

8 years ago | 0