Respondida
Increase precision of digits
Hi Tobi, this is not really true: x = 2e-127; y = 3e-126; x*y ans = 6.0000e-253 I think you mix up the size...

alrededor de 11 años hace | 0

Respondida
C++ engPutVariable() memory limitation
Hi, I'm not sure but I guess the engPutVariable needs to copy the matrix from your C application to MATLAB. The two applicati...

alrededor de 11 años hace | 0

Respondida
Is it possible to generate embedded code of a subsystem from m file?
Hi Siddhant, yet, take a look at doc rtwbuild Titus

alrededor de 11 años hace | 0

| aceptada

Respondida
Speeding up comparison using strcmp
Hi, I would convert device to a cell array (using cellstr) and then call ismember without the loop, something like cellD...

alrededor de 11 años hace | 1

| aceptada

Respondida
Merge structures with subfields
Hi Jan, it probably might be too easy (that's why I don't try here ;-)), but my guess is, that with a recursive call you migh...

alrededor de 11 años hace | 1

Respondida
i get a wrong answer for my code, can someone please help!
Hi, I'm not sure what you are doing in the second half of the function, but shouldn't the line DTC(i)=norm(xvals(i))+nor...

alrededor de 11 años hace | 0

| aceptada

Respondida
QR Factorization Using Householder Transformations
Hi Hüseyin, I don't think something is wrong. Q*R gives A (at least for your matrix A). Having different Q and R from MATLAB'...

alrededor de 11 años hace | 1

| aceptada

Respondida
How can I set the Xtick / Ytick labels of my axes with the "Interpreter" as "none" in Matlab 8.4 (R 2014b) Version?
Hi, interesting, haven't observed this yet. I admit, I don't know how to change the "property" (in "", because there is no pr...

alrededor de 11 años hace | 2

| aceptada

Respondida
Importing large CSVs and consolidating in one matrix.
Hi Pranjal, if you have R2014b available, then datastore + mapreduce would be the choice of tools. Titus

alrededor de 11 años hace | 2

| aceptada

Respondida
Possible to set new colors with a string color specifier?
Hi Stefan, you can use this data: c = get(0, 'DefaultAxesColorOrder'); plot(x, y, 'Color', c(1,:)); Titus

alrededor de 11 años hace | 1

| aceptada

Respondida
Can a function in matlab return a polynomial or an expression?
Hi, if you are looking for polynomials only: polynomials of form a_n*x^n+ ...+a_1*x+a_0 are represented as vectors [a_n ... a...

alrededor de 11 años hace | 1

| aceptada

Respondida
Help with plot in matlab
Hi, two possibilities: * You remove the ticks: set(gca, 'ytick', []), but this way you would also see no grid lines. * Re...

alrededor de 11 años hace | 0

| aceptada

Respondida
Renaming m and fig files
Hi, if they are both files created by GUIDE, the best way is to open GUIDE again and use menu File->Save as. This makes sure ...

alrededor de 11 años hace | 1

| aceptada

Respondida
listbox rendering problem 2014b
Hi, I guess the following happened: your listbox1 contains e.g. 20 file names. You select no 15. Now using your popup menu yo...

alrededor de 11 años hace | 0

| aceptada

Respondida
how to plot a straight line of the form y=w1*x1+w2*x2 in matlab
Hi, what about plot(y) Titus

alrededor de 11 años hace | 0

Respondida
Count Numbers between two values in random vectors
Hi, use logical indexing and count the result: X = rand(1, 1000); nBetween05and09 = sum(X>0.5 & X<0.9) Titus

alrededor de 11 años hace | 6

| aceptada

Respondida
Sparse backslash stopped doing pivoting forever after crash
Hi, interesting observation ;-). The "forgot to do pivoting" got me thinking. Please take a look at the function spparms: ...

alrededor de 11 años hace | 2

Respondida
How can I solve this error message: "To Reshape the number of elements must not change"?
Hi Satish, we will not be able to debug your code ... But you should be able to do your self: * Put a breakpoint on the li...

alrededor de 11 años hace | 0

Respondida
Please tell me how to resolve out of memory error of this code
Hi, assuming that the out of memory happens in the assignment matrix = [matrix; j,k,dum]; I would suggest to prealloc...

alrededor de 11 años hace | 0

| aceptada

Respondida
I am using several num2str in one annotation in the statement shown below. It works produces an output that is vertical and broken up in several lines, one for each variable. Please help!
Hi, you used {} to concatenate. In this case you create a cell array, and this tells annotation to break into several lines. ...

alrededor de 11 años hace | 1

Respondida
Mex crash with callback
Hi, hmm, it works fine for me, both with the current version and with R2012b. Only observation I have: in your comment it's w...

alrededor de 11 años hace | 0

Respondida
integrate C code in block simulink for C2000
Hi Dario, take a look at the following point in the doc: http://www.mathworks.com/help/releases/R2014b/simulink/custom-blo...

alrededor de 11 años hace | 0

Respondida
How to set up Compiler Configuration?
Hi, in this case invoke mex with the "-f" option: copy from your prefdir folder the mexopts.bat to where the source code is a...

alrededor de 11 años hace | 0

Respondida
Hot can I redirect mex output to stderr?
Hi Christoph, at the bottom of deploytool you should have "Additional Runtime Settings" where you can enable "Create log file...

alrededor de 11 años hace | 1

| aceptada

Respondida
weird calculating result from symbolic equation when using parenthesis
Hi Jesse, these are two different things. Slightly simpler example: x1 = a - (b - c) and x2 = a - b - c are...

alrededor de 11 años hace | 0

Respondida
About qr decomposition function : qr
Hi, regarding the algorithm: the help for qr states % X = QR(A) and X = QR(A,0) return the output of LAPACK's *GEQRF rou...

alrededor de 11 años hace | 0

Respondida
there are two 8 bit binary values in a single variable...how can i concate these two values???
Hi, concatenate them using reshape: reshape(c', 1, numel(c)) Titus

alrededor de 11 años hace | 0

| aceptada

Respondida
matlab not generating function_name.exe after deployment on .NET
Hi, If you want to have a .exe to be called you should select this when creating the project with deploytool. Don't select .N...

alrededor de 11 años hace | 0

Respondida
Rendering issues in Matlab R2014b version when using patch
Hi, I think you need to add the line at the zero: lm = 0; s = 1:1000; d = [ones(1, 100) zeros(1, 800) -1*ones(1, 100)]...

alrededor de 11 años hace | 0

Respondida
Java error when opening fig files
Hi, the opengl classes are in matlabroot\java\jarext\gluegen-rt.jar matlabroot\java\jarext\jogl-all.jar So please...

más de 11 años hace | 1

Cargar más