Community Profile

photo

埃博拉酱


Last seen: 6 días hace Con actividad desde 2019

Estadísticas

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

Ver insignias

Content Feed

Ver por

Respondida
Operator '+' is not supported for operands of type 'function_handle'.
Only symbolic functions can be added directly. You may need to refer to Symbolic Math Toolbox.

9 meses hace | 0

Pregunta


Is there a way to map the GPU number of the gpuDevice to the GPU number in Windows Task Manager?
Our GPU server is shared by multiple people. I hope to avoid using the GPU that is being used by others. The main method is to c...

11 meses hace | 1 respuesta | 1

1

respuesta

Respondida
Cannot clear mex with an existing DesktopWindowTarget
Although I don't know the principle, I solved the problem. Simply move the resource release code into the destructor of MexFunct...

11 meses hace | 0

| aceptada

Pregunta


Cannot clear mex with an existing DesktopWindowTarget
I'm trying to create a window and display a user-supplied image using the C++ MEX function: (Just a small snippet of code to ill...

11 meses hace | 1 respuesta | 0

1

respuesta

Respondida
用image画图时,无法用caxis调节colorbar范围,使用的是R2019a版本
你需要改用imagesc

12 meses hace | 0

| aceptada

Respondida
how can I reduce the computational time of a single for loop in a Matlab code
It seems that you are calling knnsearch twice in each loop to search for a single point in the point cloud. However, knnsearch c...

12 meses hace | 0

Respondida
I have data for each milli second. How can I average the 1000 samples and convert in to 1 sec? I got 322 sec data. 1K samples for each second.
You may want to use imresize: Table=readmatrix('ms_to_sec.csv'); Table=imresize(Table,[322,2]); Table(:,1)=1:322;

12 meses hace | 0

Respondida
Convert negative values to positive values in the graph
It depends on the meaning of negative values and how they are generated. From your graph, your data appears to be oscillating w...

12 meses hace | 0

Respondida
shannon entropy and entropy of grayscale
Entropy.m is open source, why don't you just check out its source code? edit entropy

12 meses hace | 0

Respondida
speed up for loop
When it comes to file I/O operations, parfor is usually not very helpful because the disk is always single-threaded. In contrast...

12 meses hace | 0

| aceptada

Respondida
in this linear matrix. q_1, q_2....the input matrix are 1*11 double. all the F2y,F3x...in the out put are 1*11 double. I want to solve the Sol for each value of input ,output
Sol=cell(1,11); for a=1:11 Sol{a}=GetOneSol(q_1(a),q_2(a),q_3(a),q_4(a),q_5(a),q_6(a),q_7(a),q_8(a),q_9(a),q_10(a),q_11(a)...

12 meses hace | 0

Respondida
How to push data to a website?
It depends on how your website server is configured. No one can tell you how to push messages to the server without knowing the ...

12 meses hace | 0

Respondida
C++ API: How to convert ArrayElementRef to Array?
In MATLAB, an element of an array is also an array. However, in C++, an element is not an array. matlabArray[i] is taking an el...

12 meses hace | 0

| aceptada

Respondida
Please help to solve: Index in position 1 exceeds array bounds. Index must not exceed 1.
Your audio_signal is an 1×n row vector but you're trying to get its start_index:end_index rows.

12 meses hace | 0

Respondida
"Input parser" vs. new "arguments" definition
The biggest advantage of the arguments block is readability, but it is far less flexible than varargin. People who are not famil...

12 meses hace | 1

Respondida
textscan(fid,'%s','delimiter',{'\r','\n'}) lost a Tab located in the very beginning of 1st row of text file
Specify Whitespace='' in textscan.

12 meses hace | 1

| aceptada

Respondida
separate y axis on right and left (even and odd data) with IMAGESC
Preprocess your data like: reshape(RateR_new.Flux(:,1),2,[])' Not sure if this is what you want. If not, it's best to draw a d...

12 meses hace | 0

| aceptada

Respondida
Getting Help to open in new tab of the default browser as opposed to built-in browser
I was never able to invode the OS browser with F1. Can you give a definite example to prove that you are not mistaken?

12 meses hace | 0

Respondida
How do I multiply a given function handle with the independent variable?
Use symfun and int in Symbolic Math Toolbox if you want to do integrals.

12 meses hace | 0

Respondida
Am I running in parallel? (best way to check)
parallel.internal.pool.isPoolThreadWorker||~isempty(getCurrentJob)) This code can robustly return true if and only if run on a ...

12 meses hace | 4

Respondida
How to Generate Database from Cell array In Table form in MATLAB
cell2table

alrededor de 1 año hace | 0

Respondida
Saving output files as input file names while running though a for loop
filenames = struct2table(dir('*.csv')).name; %%% Start looping over files for k= 1:numel(filenames) X= readmatrix(filenam...

alrededor de 1 año hace | 0

Respondida
Automatically create variable names
NameIndex=1; Value=2; eval(sprintf('Name_%u=%d',NameIndex,Value)); This is possible by eval but as mentioned in the comments ...

alrededor de 1 año hace | 0

Respondida
MEX file debugging with MS Visual Studio
As @Friedrich said, MEX file functions are loaded dynamically, so the function needs to be called once in MATLAB to load symbols...

alrededor de 1 año hace | 0

Respondida
Compare strings which contains the same pattern by ignoring case sensitivity and some expressions like underscores
You might remove those expressions to be ignored and unify the strings all to lowercase before doing actual comarison.

más de 1 año hace | 0

| aceptada

Respondida
How to I create variables with different names in the workspace using for loop?
You're too new to MATLAB to write any actual code. Learn your first course on https://matlabacademy.mathworks.com/ before doing...

más de 1 año hace | 0

Respondida
数值索引和逻辑索引哪个更快?
测试方法 测试函数: function IndexingTest(FullNumber,SelectNumber) Set=false(FullNumber,1,'like',logical(FullNumber)); Index=cast(ran...

casi 2 años hace | 0

| aceptada

Pregunta


数值索引和逻辑索引哪个更快?
Index=find(Array==Element); Array(Index)=0 上述代码往往会被提示可以省略find,直接使用逻辑索引而不是数值索引。 省略一个函数调用当然会更快,这不难理解。 但如果Index还将要继续用于后续其它数组的索引...

casi 2 años hace | 1 respuesta | 1

1

respuesta

Respondida
无法加载产品文件。产品文件与输入文件必须在同一文件夹内
请提供错误截图

casi 2 años hace | 0

Respondida
gui中,使用ginput获取屏幕上的点,响应速度越来越慢
你这个函数本身不会造成响应变慢,应该是其它代码的问题。

casi 2 años hace | 0

Cargar más