![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20719788_1609004676350_DEF.jpg)
dleal
Followers: 0 Following: 0
Feeds
질문
why is acumarray much slower calculating means than sum?
Hi all, why is acumarray much slower calculating means than sum? I understand averages are slightly more complex, but I woul...
거의 2년 전 | 답변 수: 2 | 0
2
답변답변 있음
how can I change a n*1 matrix to a n*6 matrix with a condition based on column value?
If you have the Statistics and Machine Learning Toolbox you can do use dummyvar: A = [1,1,2,4,4, 5,6]'; >> dummyvar(A) an...
how can I change a n*1 matrix to a n*6 matrix with a condition based on column value?
If you have the Statistics and Machine Learning Toolbox you can do use dummyvar: A = [1,1,2,4,4, 5,6]'; >> dummyvar(A) an...
거의 2년 전 | 0
| 수락됨
질문
access array multiple times and calculate some value
Hi all, I would like to know if there's a faster way that using a foor loop for this: a = rng(99); A = randn(1,100); B = [20 ...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
list comprehension in MATLAB using Python interface
Hi all, using MATLAB's Python interface, is there a way to do a list comprehension in MATLAB? Sample problem python list compr...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
long integers in matlab
Hi all, how can we do (simple) operations in Matlab with integers that exceed intmax("uint64")? I am aware that in Python thi...
대략 2년 전 | 답변 수: 3 | 0
3
답변질문
create static method in app designer
Hi all, How do I create static methods in the App Designer? The dropdown menu only allows me to create either public or privat...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
python environment mysteriously loads by itself?
The title of this post summarizes the issue. I am slighty confused why Python loads without my explicit permission. I am workin...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
proper use of DataQueue and PollableDataQueue inside of App Designer class?
Hi all, I am aware there are some limitations for the usage of Parallel Computing Toolbox inside of App Designer. How could I s...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
iteratively plot in multiple figures with subplots
Hi all, I want to create 2 figures, each with 2 embedded subplots. Then, I would like to alternatively add points to each of t...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Updating plot in loop takes increasing amount of time
When I update a plot within a loop, each iteration takes longer after a while. Is there a way to avoid the slowdown? See example...
대략 2년 전 | 답변 수: 2 | 0
2
답변질문
dsp.MatFileReader HDF5 library encountered an error
Hi all, I am getting this error with MatFileReader which I don't know how to fix. The function below simply reads a mat file wit...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
streaming real-time financial data in MATLAB
Hi all, I would like some guidance as to how to frame the following streaming problem in MATLAB. I am currently trying to stream...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
access elements of vector within struct
Hi all, I want to update the values of a vector, within a struct, recursively, in a for loop. In particular, I am receiving rea...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
accumulate values in aftereach function
Hi all, I would like to accumulate values that I collect in real time from a function that runs in the background. For exam...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Assign different resources to different processes running in background
Hi all, I am trying to set up two independent processes running in the background. The first process would generate data (genDa...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Change table variable type
Hello, I am trying to change all variables in a table from int64 to double. I know I should use the "double" function, but for ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
MATLAB PollableDataQueue get last value
Is it possible to make the a MATLAB PollableDataQueue last-in-first-out (LIFO) instead of first-in-first-out (FIFO)? Alternative...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
pass Python object as argument to function in "parfeval"
I am trying to pass one Python object as an argument to a function that I am evaluating in the background with parfeval. The Pyt...
2년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...
2년 초과 전
질문
Matlab Github integration on 2021a "incorrect username and password"
I am following this MATLAB Youtube video on how to use source control in matlab on Github https://www.youtube.com/watch?v=O7A27...
거의 3년 전 | 답변 수: 1 | 4
1
답변질문
don't understand "training" method in cvpartition class
the "cvpartition" class in the statistics and machine learning toolbox as the following method: function trainIndices = train...
거의 3년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...
거의 3년 전