![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7478875_1518619471401.jpg)
William Smith
Followers: 0 Following: 0
Feeds
回答済み
How Do I To Store First Value To Satisfy Condition In A For Loop?
% Find the position of the first element that matches. pos = find(Pos_add > 0 && Pos_add <= DesiredCoM, 1, 'first'); ...
How Do I To Store First Value To Satisfy Condition In A For Loop?
% Find the position of the first element that matches. pos = find(Pos_add > 0 && Pos_add <= DesiredCoM, 1, 'first'); ...
7年弱 前 | 0
回答済み
Extracting values from vectors in an array and building a 3-dimensional array
reshape might well be what you need, combined with cell2mat
Extracting values from vectors in an array and building a 3-dimensional array
reshape might well be what you need, combined with cell2mat
7年弱 前 | 0
回答済み
How do I make my code faster. It now takes 2 hrs
1) Not clear from your code, but the first step is always to vectorize. Matlab is good at matrix operations (it's not called Ma...
How do I make my code faster. It now takes 2 hrs
1) Not clear from your code, but the first step is always to vectorize. Matlab is good at matrix operations (it's not called Ma...
7年弱 前 | 0
回答済み
How to add two other curves to the final plot ?
Answer 1 : hold('on'); Answer 2 : ???
How to add two other curves to the final plot ?
Answer 1 : hold('on'); Answer 2 : ???
7年弱 前 | 0
回答済み
Fitting a smoothing spline method
spline takes data in the format ( known X's, known Y's, desired X's) So, for example: desiredx=1:0.1:13; xfitted = sp...
Fitting a smoothing spline method
spline takes data in the format ( known X's, known Y's, desired X's) So, for example: desiredx=1:0.1:13; xfitted = sp...
7年弱 前 | 0
回答済み
How to resolve out of memory error in matlab? Please read details
Type memory And check the size of the maximum possible array. An array needs contiguous memory, it's possible your...
How to resolve out of memory error in matlab? Please read details
Type memory And check the size of the maximum possible array. An array needs contiguous memory, it's possible your...
7年弱 前 | 0
回答済み
How to find index of a cell in matlab?
Why are you doing [sd,Mayindex(10,:)]=sort(d); Why not [sd, MayIndex] = sort(d);
How to find index of a cell in matlab?
Why are you doing [sd,Mayindex(10,:)]=sort(d); Why not [sd, MayIndex] = sort(d);
7年弱 前 | 0
回答済み
10% random noise to an array of values
Not totally clear what you want, but let's assume * you want each element in Frequency (40k elements) to be changed to somew...
10% random noise to an array of values
Not totally clear what you want, but let's assume * you want each element in Frequency (40k elements) to be changed to somew...
7年弱 前 | 1
回答済み
question regarding saving variables from internal matlab files
Have you tried adding a breakpoint at that line, then when the breakpoint is hit, save the variable manually using your command ...
question regarding saving variables from internal matlab files
Have you tried adding a breakpoint at that line, then when the breakpoint is hit, save the variable manually using your command ...
7年弱 前 | 0
回答済み
removing elements of cell array
If it's just explicit items you want to remove, rather based on a function, you can simply use 'setdiff'. e.g. setdi...
removing elements of cell array
If it's just explicit items you want to remove, rather based on a function, you can simply use 'setdiff'. e.g. setdi...
7年弱 前 | 0
回答済み
Why the data in the workers cannot be plotted in graph in PCT?
I have multiple parfor workers plotting 'invisible' graphs then saving to PNG. Seems to work fine. Pseudocode: fig = ...
Why the data in the workers cannot be plotted in graph in PCT?
I have multiple parfor workers plotting 'invisible' graphs then saving to PNG. Seems to work fine. Pseudocode: fig = ...
7年弱 前 | 0
回答済み
parfor load balancing chunksize
This issue of heterogenous workloads (or in your case heterogenous workers) and parfor's lack of proper support for them has com...
parfor load balancing chunksize
This issue of heterogenous workloads (or in your case heterogenous workers) and parfor's lack of proper support for them has com...
7年弱 前 | 0
回答済み
Matlab compiler : how do I sign an app with a certificate I supply?
Answer : there doesn't seem to be any way to do this in Matlab compiler (at least, as of 2016b which I'm currently using). I ...
Matlab compiler : how do I sign an app with a certificate I supply?
Answer : there doesn't seem to be any way to do this in Matlab compiler (at least, as of 2016b which I'm currently using). I ...
7年弱 前 | 1
| 採用済み
回答済み
Make a string an acceptable matlab file name
I found urlencode() and urldecode() work nicely, and I particularly like the reversibility, so you can parse the filename to rec...
Make a string an acceptable matlab file name
I found urlencode() and urldecode() work nicely, and I particularly like the reversibility, so you can parse the filename to rec...
7年弱 前 | 0
回答済み
How can I have a MCC-compiled application return a specific exit code?
Compiled Matlab programs automatically exit 0 if the main function returns, and -1 if an error occurs prior to this. Maybe that...
How can I have a MCC-compiled application return a specific exit code?
Compiled Matlab programs automatically exit 0 if the main function returns, and -1 if an error occurs prior to this. Maybe that...
約7年 前 | 1
質問
Why do my parfor loops run in parallel in matlab interactive mode, but in serial mode when I deployed, using Matlab compiler?
I have multiple programs that contain parfor loops. These parfor loops successfully execute the relevants sections in parallel ...
約7年 前 | 1 件の回答 | 1
1
回答回答済み
Why do my parfor loops run in parallel in matlab interactive mode, but in serial mode when I deployed, using Matlab compiler?
Note, after 1 day messing around, I was able to work around this by explicitly calling parpool() just before my parfor. This sh...
Why do my parfor loops run in parallel in matlab interactive mode, but in serial mode when I deployed, using Matlab compiler?
Note, after 1 day messing around, I was able to work around this by explicitly calling parpool() just before my parfor. This sh...
約7年 前 | 0
| 採用済み
質問
Matlab compiler : how do I sign an app with a certificate I supply?
I work in an organisation that is fairly concerned about malicious applications running on internal networks. For that reason, ...
8年弱 前 | 1 件の回答 | 1
1
回答回答済み
Is it possible to perform parallel computing with lsqnonlin?
This is now supported (since around 2016a). Pass the { 'UseParallel' , true } flag in the optimoptions.
Is it possible to perform parallel computing with lsqnonlin?
This is now supported (since around 2016a). Pass the { 'UseParallel' , true } flag in the optimoptions.
8年以上 前 | 0