Problem

Undocumented MATLAB tricks No. 2 - Tell the parfor index

Your function is called in multiple for-loops, and the loop indices are given to your function. One of these indices are from a ...

9 months ago | 0 | 1 solver

Problem

Undocumented MATLAB tricks No. 1 - Save a function-returned struct

Often we face the case when we want to save a function-returned struct to a mat file with each of its field as individual variab...

9 months ago | 0 | 2 solvers

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...

9 months ago | 1 answer | 0

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...

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...

10 months 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...

10 months ago | 1 answer | 0

Solved

Dealfun (1.0)

*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...

10 months ago

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...

10 months ago | 2 answers | 0

Answered

save problem: -STRUCT must be the name of a scalar structure variable

save(filename,'-fromStruct',test);

save problem: -STRUCT must be the name of a scalar structure variable

save(filename,'-fromStruct',test);

10 months 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...

10 months ago | 1 answer | 1

Submitted

埃博拉酱的 作图 工具包 Figuring Toolbox

埃博拉酱的MATLAB作图工具包，包含一系列实用的作图工具。依赖埃博拉酱的Windows工具包 本项目的发布版本号遵循语义化版本规范。开发者认为这是一个优秀的规范，并向每一位开发者推荐遵守此规范。

10 months ago | 1 download |

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...

1 year ago | 1 answer | 0

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...

1 year ago | 1 answer | 0

Submitted

Tiff 快速 拆分 与 合并 Quick Split Merge

这是一个以IFD为单位对Tiff进行快速拆分与合并的工具包。因为无需解析IFD内容，所以能够快速操作应用了压缩算法的Tiff，无需解析IFD内部信息，无需解码，直接底层剪接。

1 year ago | 2 downloads |

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...

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...

1 year ago | 3

Submitted

快速 跳转 当前 文件夹 快捷方式 Pwd Shortcut Quick Jump

设置命令行快捷方式，快速跳转当前文件夹到你常用的路径

1 year ago | 1 download |

Submitted

最强 Venn Chart 作图 双圈 三圈

全File Exchange最强的几何完备Venn作图工具包。只要几何上有可能实现的Venn图，就全都能给你作出来！支持任意方向变换、缩放、颜色调整，完全重合或无重合等特殊情况也不会出错！双圈三圈全部支持！

1 year ago | 2 downloads |

Submitted

Cody anti-cheat 反作弊

Cody挑战者们常用一些反常的数据类型绕过出题人的答案检查。这里列出一些常见的作弊方法。

1 year ago | 0 downloads |

Solved

Restricted Subtraction v1

This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

1 year ago

Solved

Restricted Multiplication v1

This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

1 year ago

Solved

Algorithmic Trading - 4 (two thresholds)

This is the fourth of a series of problems on quant trading. It builds on earlier problems 45776, 45860, and 45884 *Goal* ...

1 year ago