Inviato


无符号 整数 与 逻辑 数组 互转 Unsigned Integer to and from Logical Array
本包可以将逻辑数组拼合为无符号整数,以及将无符号整数展开为逻辑数组

oltre 2 anni fa | 2 download |

Thumbnail

Risolto


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

oltre 2 anni fa

Problema


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

oltre 2 anni fa | 0 | 2 risolutori

Problema


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

oltre 2 anni fa | 0 | 5 risolutori

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Risolto


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

oltre 2 anni fa

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

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

oltre 2 anni fa | 1

Domanda


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

quasi 3 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

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

oltre 3 anni fa | 3

Risolto


Find area of rectangle

oltre 3 anni fa

Risolto


Find area of triangle

oltre 3 anni fa

Problema


Original coordinate of the min element of a subset of elements

oltre 3 anni fa | 2 | 18 risolutori

Risolto


Easy: Simple problem for beginners

oltre 3 anni fa

Inviato


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

oltre 3 anni fa | 1 download |

Thumbnail

Inviato


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

oltre 3 anni fa | 1 download |

Thumbnail

Inviato


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

oltre 3 anni fa | 0 download |

Thumbnail

Risolto


Volatile array in parfor and for

oltre 3 anni fa

Problema


Volatile array in parfor and for

oltre 3 anni fa | 0 | 3 risolutori

Problema


Convert sorting indices to ranks

oltre 3 anni fa | 1 | 11 risolutori

Risolto


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

oltre 3 anni fa

Risolto


Find Logic 21

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


tic tac toe
Solved ticTacToe

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Algorithmic Trading - 3 (short selling and leverage)
This is the third of a series of problems on quant trading. It builds on earlier problems 45776 and 45860 <https://www.mathwo...

oltre 3 anni fa

Risolto


Algorithmic Trading - 2 (optimize Calmar Ratio)
This is the second of a series of problems on quant trading. It builds on earlier problem 45776 <https://www.mathworks.com/matla...

oltre 3 anni fa

Carica altro