Feeds
提问
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...
12 months 前 | 3 个回答 | 1
3
个回答已回答
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...
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 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答已回答
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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 3
1
个回答已回答
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...
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 前 | 0
已回答
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"...
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 前 | 0
已回答
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...
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 前 | 1
提问
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 前 | 1 个回答 | 0
1
个回答已回答
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 ...
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 前 | 0