Octavian
University of Texas Health Science Center San Antonio
Followers: 0 Following: 0
Feeds
질문
accumulating unique indices in array
Dear All, I have a vector A = [1;1;2;4;2;7;3;2;5;4;7;1..]; I need to count the no of times each index shows in a vector B = [1...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
Logical indexing of nonscalar structures
Dear All, I have a nonscalar nested structure s of length n, I need to index field e in s (s.a.b.c.d.e). I can do it with a lo...
거의 4년 전 | 답변 수: 2 | 0
2
답변질문
'Label center' of 3D surface patch instead of centroid
Dear All, I have an irregular 3d surface patch expressed as vertices (x,y,z) coordinates and faces (triagles), this can be con...
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
custom 'Keyboard +Mouse' Callback creation
Dear All, I am using Matlab 2018a. I need to create essentially a custom ButtonDownFcn, consistent of ALT key + left mouse ...
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
Outlier-robust feature scaling
Dear All, What feature scaling method would you recommend to bring data within [0 1] or [-1 1], for features that are heavily ...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
fitcnb, Naive Bayes classifier predictor distributions
Dear All, I plan training a naive Bayes classifier on using two features predictors (assumed independent, and both derived fro...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
App Designer: interrupt while loop in running callback by a SPECIFIC interrupting callback (push button)
Dear All, I have two buttons, each associated with a function callback. When the 1st button is pressed, the code enters a whil...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
isempty: Not enough input arguments.
Dear All, I have an empty structure x.y.z isfield(x.y, 'z') is logical 1, but isempty(x.y.z) gives me this error: Error u...
4년 초과 전 | 답변 수: 3 | 0
3
답변질문
Debug /pause at every function definition line (local function or function script) without explicit breakpoints
Dear All, I am trying to debug a GUI associated with a (new to me) code package, containing m scripts with multiple local func...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Find path of app when opening app using 'Open' menu from a different directory (App designer)
Dear All, I need to save the output of an app to its folder, so I need to find out the app path when opening the app. This is ...
4년 초과 전 | 답변 수: 1 | 1
1
답변질문
Conserve text field output/display in App Designer across runs
Dear All, I have a text field in an app; its output (text/char string) is modified either by typing into it (the usual way), o...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
Merge two table columns (column 1: categorical data; column 2: double el) into one (column 3: categorical or string el) and replace columns 1,2 with 3 in the table
Dear All, I have a table with 4 columns, column 1: T.Letters = A; BC, DEF, G, HI .. etc (categorical array) ...
거의 5년 전 | 답변 수: 2 | 0
2
답변질문
Error parfor worker aborted
Dear All, I have a parfor loop with n iterations (n between 20 and 200), and using input matrices depending n^2 on the size ...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Clearing variables in function workspace effect on memory
Dear All, I have a script calling a function, with several large matrices present in this function's workspace. I would need...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
help vectorize code for GPU
Dear All, I have a for loop code snippet which in essence, involves 2D matrix or elementwise multiplication, and 2D matrix a...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Square matrix factorization to increase sparsity for GPU use
Dear All, I have a full (no zeros) real asymmetric square matrix A in a loop on the GPU (to increase execution speed compare...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
parallel processing on one (several) GPUs
Dear All, Can I execute a parallel script on one GPU? If not, how can I direct each worker to a specific GPU of choice (say ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
GPU gather command clarification and GPU memory usage
Dear All, 1. If x is a gpuarray, and y its cpu correspondent, after the command y=gather(x) is x still on the GPU or ...
9년 초과 전 | 답변 수: 1 | 1
1
답변질문
Diagonal matrix size reduction
Dear All, I have a loop written for GPU (gpuarrays) with multiple matrix inputs, one of which is a diagonal matrix A with si...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to use ResizeFcn to normalize MarkerSize (plot3) and FontSize (text)?
Dear All, I have a figure containing several linked objects (a plot3 surface, a plot3 set of 3D points, and a set of associa...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to add to a figure a second set of 3D axes insensitive to rotate3d, pan, zoom?
Dear All, I have a plot3 object (3D surface) in a figure that I can (and often have to) freely rotate3d, pan, zoom. I need t...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to pass iteration information to fmincon's nonlcon function?
Dear all, My code uses fmincon to minimize the distance from (snap) a set of points to a surface and find snapped coordinate...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
Issues with zooming using ActionPreCallback ActionPostCallback
Dear All, Zooming and rotating 3D a large object (cortex hull) by mouse click leads to a very and slow and choppy object mov...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
How to compare workspace variable to variable saved on disk and save if different.
Dear All, here is my challenge. I use an script that generates an output variable varx in workspace and saves it to a binary...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
validate function inputs independent of position and name
Dear All, I have the function f(a b c d), with a b c d inputs all structure arrays, a and b required, c and d optional. I ...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
sprintf literal output as next pending command
Dear All, I have a cell array DD with cells containing strings formed from letters, eg 'SFG' (some consecutive cells have id...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
adding empty numerical fields in structure array
Dear All, I am sure this is trivial for you wizzes. I have a structure A with fields A.field1,A.field2, A.field3, with fiel...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
gpu memory code optimization
Dear Wizes, I would appreciate if you could break this: My code includes gpuArray operations inside a for loop; the relevan...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
How to optimize gpuArray operation to minimize GPU memory
Dear All, I have to do A-B, where A, B are gpuArrays of 20000X20000 elements (single precision). Each of A and B is ~ 1.6 Gb...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
gpuArray memory requirement estimation
Dear All, I was running a script employing parallel processing and a gpuArray structure. I get the following error on two PC...
거의 10년 전 | 답변 수: 2 | 0