Respondida
Run mex on AWS cluster?
Hi Philip, yes, that's right. You will need to recompile on a Linux box (64 Bit, since I hope you run on AWS 64 Bit as well)....

más de 11 años hace | 1

| aceptada

Respondida
How to change the name of variables using a loop?
Hi Kathleen, why do you want to avoid cells? They are a perfect fit - and much cleaner/safer/easier to use than any clumsy an...

más de 11 años hace | 0

Respondida
control of interpolation-extrapolation of data in the 'from file' block- matlab/simulink 2010a
Hi, I guess upgrading is not an option? Starting with 2010b you can choose whether to hold the last value or extrapolate. The...

más de 11 años hace | 0

Respondida
How to use a math function as an input in a written function?
Just to be sure: your MATLAB version is not R12 or R13 from before 2003? In R14 anonymous functions were introduced ... Titus...

más de 11 años hace | 0

Respondida
Variable error on second file read when going through a sequence of files
Hi, some comments: first of all your indexing is wrong: 5:2 is the empty set. Try 2:5 instead (same of course for Voltage, da...

más de 11 años hace | 0

Respondida
Compiled s-function blocks with step size less than simulation step size
Hi Luke, sorry, but this won't work. There is no way to have a block with a sample time lower than base sample time. Only way...

más de 11 años hace | 0

| aceptada

Respondida
what will be the solution for this error
Hi, you write V = ev(:, 1:3); so V has three columns. But your loop on j is for j=1:7 That doesn't match ......

más de 11 años hace | 0

Respondida
saving simulation results as .bmp
Hi, if you have only one scope in your model, it's possible by hFig = findall(0,'tag','SIMULINK_SIMSCOPE_FIGURE') save...

más de 11 años hace | 0

Respondida
Help me with "NORMPDF"
Hi, how can you see, that this is not normally distributed? Could it be that you mix up the plot with the histogram? Try hi...

más de 11 años hace | 0

Respondida
how to plot 2d and 3d plot in the web figure using matlab?
Hi, this question sounds fairly generic? Generally you just plot whatever you want and call webfigure(h), where h is the handle...

más de 11 años hace | 0

Respondida
Error : Undefined variable "uiscopes" or class "uiscopes.getDefaultPosition" - standalone application
Hi, on the page <http://www.mathworks.com/products/compiler/supported/compiler_support.html product support of compiler> you ...

más de 11 años hace | 1

| aceptada

Respondida
low speed of 'ismember' function
Hi, does "Vector1" and "Vector2" changes in every iteration? Often you see something like for i=1:n v = ismember(x(...

más de 11 años hace | 0

Respondida
I cannot set Number of workers as number of cores of my computer
Hi, you probably have a dual core with hyperthreading? In this case it's a good decision of MATLAB to allow only two workers....

más de 11 años hace | 0

| aceptada

Respondida
uninstalled MATLAB before deactivating
You should go to the license center on the web and deactivate your license there. Titus

más de 11 años hace | 0

Respondida
Error using mex: No supported compiler or SDK was found.
Hi Jordan, to me this looks fine: you configured mex to use Microsoft Visual C++ 2012 (as in the text directly before the war...

más de 11 años hace | 0

Respondida
How I can I save large tables without using save(data, '-V7.4')?
Hi James, generally speaking, the v7.3 is an uncompressed format, whereas the default format (7.0) is a compressed format. It...

más de 11 años hace | 0

Respondida
symbolic computation GPU Matlab
No, you can't. It would probably not make too much sense anyway: GPUs are good for highly parallel computations. Symbolic comput...

más de 11 años hace | 0

Respondida
How declare for the matlab matrix that an value don't is considerable ??
You can remove elements from your matrix as follows: a = [1 2 3 4 5]; % delete all two's: a(a==2) = []; Titus

más de 11 años hace | 0

| aceptada

Respondida
strfind: how to set a cell for the pattern?
Hi, not exactly the same result but similar: ismember(a, b) Titus

más de 11 años hace | 0

Respondida
Hi! Can I do a stand alone executable if my program is targeted for plotting? I am getting the following error:
Hi, did you do a mbuild -setup before? Did MATLAB find your gcc 4.0? Titus

más de 11 años hace | 0

Respondida
fmincon can't meet nonlinear constraints with a feasible start point
Hi, are you sure they satisfy the constraints? You can check e.g. with all(A*x0<=b) Or: what is max(abs(Aeq*x0-b...

más de 11 años hace | 0

Respondida
How to merge multiple scripts in MATLAB
Hi, you might just create a script that uses "run" to run the other scripts based on the output of "dir"? Something like ...

más de 11 años hace | 0

Respondida
simulink code generation error !!!
You should include the generated header file for the model, it should contain all necessary includes. Titus

más de 11 años hace | 0

| aceptada

Resuelto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

más de 11 años hace

Respondida
ODE15 problem in java web deployment
Hi Zetty, a trick that often helps debugging such issues is to save the input data of your deployed function into a .mat file...

más de 11 años hace | 0

| aceptada

Respondida
replace numeric char within a column
Hi, it sounds as if you have a cell array of strings. In this case allDatabySubj(strcmp(allDatabySubj, '-999)) = {0}; ...

más de 11 años hace | 0

| aceptada

Respondida
Problem in Dimensionality reduction
Ciao Chiara, the third return parameter from xlsread is a cell array, you will need to convert vX to a matrix using cell2mat....

más de 11 años hace | 0

| aceptada

Respondida
How can I reduce the execution time when calculating mean values within a 3 times loop?
Hi, I would suggest to preallocate TENNILU and take some of the operations out of the loops: TENNILU = zeros((2014-2004+...

más de 11 años hace | 0

| aceptada

Respondida
Growing a Cell Array
Hi Victor, it will automatically grow: x = {1} x = [1] x{3} = 'Hello' x = [1] [] 'Hello' Nev...

más de 11 años hace | 0

| aceptada

Respondida
MEX et up problem
Hi Ali, I'm not sure what your question is. You did mex -setup and chose the SDK 7.1. So far so good, what is now the problem...

más de 11 años hace | 1

Cargar más