Community Profile

photo

埃博拉酱


Last seen: 12 giorni ago Active since 2019

Statistics

All
  • Thankful Level 2
  • First Answer
  • Commenter
  • Leader
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 3
  • Explorer
  • First Review
  • Personal Best Downloads Level 2
  • Speed Demon
  • Creator
  • First Submission

View badges

Content Feed

View by

Answered
Why do I get a permission denied error in regards to classpath.txt or pathdef.m when starting MATLAB?
This is a very ugly design! All path settings should be user-wide instead of system-wide by default! MATLAB default pathdefs sh...

2 mesi ago | 1

Question


How to limit the usage of GPU to only one parallel worker?
Since the GPU memory is very limited, it can only undertake one job at a time, but much faster than the same job on CPU. Now I h...

6 mesi ago | 1 answer | 0

1

answer

Answered
Why do I receive an Error regarding third party software when Downloading or Installing a support package?
Why is this function still so stupid till now? How many versions and years have passed? Are there any staffs really working on t...

6 mesi ago | 0

Question


How to declare a function as Static if it is defined as an individual file under the class folder?
In the class definition file we define Static functions as such: methods(Static) function SomeFunction() end end However, w...

6 mesi ago | 1 answer | 0

1

answer

Question


How to elegantly open or create new file for reading and writing but not discard existing contents?
If the file exists, open it for reading and writing, but don't discard existing content; else, create it. Isn't it a very commo...

6 mesi ago | 2 answers | 0

2

answers

Answered
save problem: -STRUCT must be the name of a scalar structure variable
save(filename,'-fromStruct',test);

6 mesi ago | 0

Question


How to open a script in a running MATLAB instance with Windows Command Line?
Double-click a script file in Windows File Explorer will open the script in a running MATLAB instance if it exists. Only when no...

6 mesi ago | 1 answer | 1

1

answer

Question


Can simscape products simulate a solar system?
I didn't find a way to set a series of free bodies that are only affected by gravity. Free bodies seem totally impossible in sim...

11 mesi ago | 1 answer | 0

1

answer

Question


What is prodofsize?
I saw it in the document of cellfun, but it does not seem to exist as an actual function, i.e., it's impossible to call it direc...

11 mesi ago | 1 answer | 0

1

answer

Answered
Every time I push to the remote GitHub repository, I have to re-input my username and password. Is there some way to avoid this by having MATLAB store this information?
I tried all steps given by these two answers and the document on https://www.mathworks.com/help/matlab/matlab_prog/set-up-git-so...

circa un anno ago | 3

Question


How to perform image registration on GPU
imregister does not support GPU unfortunately. Are there any workarounds? I have hundreds of millions of images to register and ...

circa un anno ago | 1 answer | 0

1

answer

Question


Why the rows are the first dimension of array by design?
I know it's impossible to change now because of the compatibility burden. But why did the first developers decided to use rows a...

oltre un anno ago | 1 answer | 0

1

answer

Question


How to shut down connection to Arduino device when the arduino variable is not in the workspace?
The arduino object is cleared from the workspace, but the connection remains, because I can't create a new connection. MATLAB to...

oltre un anno ago | 0 answers | 0

0

answers

Question


MatFile grows exponentially larger in an empty table replacement loop?
First create a MatFile: a=matfile("Test.mat"); Then create an empty table: a.Data=table('Size',[0 1],'VariableTypes',"uint8")...

oltre un anno ago | 1 answer | 0

1

answer

Answered
如何制作彩色幻影坦克?How to generate an ARGB Mirage Tank?
自己解决了这个问题,分享一波~ function varargout = MirageTankV2(Image1,Image2,varargin) %输入两张图,制作幻影坦克! %Image1和Image2三个维度视为列、行、G/AG/RGB/ARG...

circa 2 anni ago | 0

| accepted

Question


如何制作彩色幻影坦克?How to generate an ARGB Mirage Tank?
网上的教程都是黑白的,还要用到PS。我想幻影坦克不就是利用了Alpha通道么?用MATLAB应该也能做吧?求大佬指教! A Mirage Tank is a specially made PNG image that show different col...

circa 2 anni ago | 1 answer | 1

1

answer

Answered
How to avoid error when whether the function has returns is unknown?
This is my workaround: function Output = PairArrayArrayfun(Function,Array1,Array2,ArrayDimension,UniformOutput) CatDimension=m...

circa 2 anni ago | 0

| accepted

Question


How to avoid error when whether the function has returns is unknown?
function Output = PairArrayArrayfun(Function,Array1,Array2,ArrayDimension,UniformOutput) CatDimension=max(ndims(Array1),ndims(A...

circa 2 anni ago | 3 answers | 0

3

answers

Question


How to gracefully generate an all-one cell array?
An all-one array can be gracefully generated by ones(...) But what if I want an all-one cell array? function Output=OnesInCell...

circa 2 anni ago | 1 answer | 1

1

answer

Question


Why can't I start my local cluster?
Win10 1903. Any possible reasons?

oltre 2 anni ago | 0 answers | 0

0

answers

Question


Is this for-loop vectorizable?
b=1; for a=2:length(ToneLines) if ToneLines(a)-ToneLines(b)>13000 b=a; else ToneLines(a)=0; end end ToneLines=Ton...

oltre 2 anni ago | 1 answer | 0

1

answer