回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

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

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 1

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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'...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 2

| 採用済み

回答済み
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

11年以上 前 | 2

| 採用済み

回答済み
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

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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 ...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 0

| 採用済み

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

11年以上 前 | 0

回答済み
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

11年以上 前 | 6

| 採用済み

回答済み
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: ...

11年以上 前 | 2

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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. ...

11年以上 前 | 1

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

回答済み
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

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 0

回答済み
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)]...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 1

さらに読み込む