Answered
use of strmatch to find a string NOT at the start of a line
Hi, maybe have a look at strfind: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/strfind.html>

14 years ago | 0

Answered
How to Quit MATLAB using C# & COM?
Hi, Fangjun is right. It seems like you are using late binding. This makes coding a bit more complicated. Why aren't you usin...

14 years ago | 0

| accepted

Answered
MATLAB GUI for an external program
Hi, I would compile the Fortran code into a mex file. This will allow you to call your Fortran code from MATLAB: <http://w...

14 years ago | 0

| accepted

Answered
Function to find the more recurrent number
Hi, i think the hist function can help here: %create some random numbers between 1 and 20 a = ceil(rand(100,1)*20); %put...

14 years ago | 0

| accepted

Answered
GUI to automatically measure distance between 2 curves
Hi, you have two curves f_1, f_2, a user given point (x,y) and you want the distance between the curves at that point? If so ...

14 years ago | 0

Answered
Saving successive results ?
Hi, what you like to do can be done with eval: n = 5; for k = 1:1:n; eval(['array_',num2str(k),'= k^2+2*k;']); % J...

14 years ago | 1

| accepted

Answered
maximum size of matrix
Hi, a bit old but still valid I think: <http://www.mathworks.com/support/tech-notes/1100/1110.html> And also more or less val...

14 years ago | 2

| accepted

Answered
Trying to count pixels in a mask
Hi, sounds like you are calling your function without an input like pixcount(). Try to pass something, like pixcount(rand(1500,...

14 years ago | 0

Answered
Problem compiling wtih Matlab Builder for JA: "Unable to determine function name or input/output argument count for function in M-file ..."
Hi, thanks for posting. The import AOTWrapper part looks a bit strange. Normally you have to specifiy a bit more when using imp...

14 years ago | 0

| accepted

Answered
PLEASE help : system of ODE
Hi, Based on this article (chapter 2.3) <http://www.math.tamu.edu/REU/comp/matode.pdf> I think you have to do it like this: ...

14 years ago | 0

Answered
I need to obtain second derivative from a 2nd order ode
So, after rethinking the whole problem it looks that you are doing it 100% right. You split up the 2nd order ODE into a coupl...

14 years ago | 0

| accepted

Answered
createholidays
Hi, The data needed for the createholidays function must be downloaded from <http://www.financialcalendar.com/>. According to...

14 years ago | 0

Answered
I need to obtain second derivative from a 2nd order ode
I would suggest reading this article: <http://www.math.tamu.edu/REU/comp/matode.pdf> Your code should look similar to this: ...

14 years ago | 0

Answered
Making a countor map from a excel file
Hi, since contour expects a matrix I would do: [Num,Txt,Raw]=xlsread('MyData.xls'); x=Num(:,1); y=Num(:,2); z=Num(:,...

14 years ago | 0

Answered
I need to obtain second derivative from a 2nd order ode
Hi, Matlab can solve ODE of first order only. You have to convert your 2nd order ODE to a sytem of coupled 1st order ODE’s. H...

14 years ago | 0

Answered
hanging the program of drawing shapes
Hi, since graphic in MATLAB is mostly done in JAVA I would guess that the JAVA Heap Space is too small. Try to increase the J...

14 years ago | 0

Question


Batman equation in MATLAB
Hi folks, I am looking for a smart way to implement the Batman equation in MATLAB: <http://www.freepostia.com/fimages/405CNy9J...

14 years ago | 3 answers | 3

3

answers

Answered
Replacing numbers with letters in a matrix
Hi, I would do it this way: char(Matr+96)

14 years ago | 3

| accepted

Answered
Why are settings (such as character encoding and java heap memory) not reflected in matlab instance called through C# ?
Hi, How do you do the slCharacterEncoding()? With a startup.m? Then that was perhaps not executed because another startup dir...

14 years ago | 0

Answered
Is there any matlab command to increase java heap memory ?
Hi, I think you know this: <http://www.mathworks.com/support/solutions/en/data/1-18I2C/index.html> What is the exact er...

14 years ago | 0

Answered
problem in executing "trapz" function in matlab. error relating refblas.dll
Hi, This sounds like a missing dependency. Either the needed DLL does not exist on your system or it exists but has the wron...

14 years ago | 0

Answered
MATLAB function into C# Windows Form Application
Hi, That’s the idea of the MATLAB Builder products. You have to ship the .NET DLL and the MCR which is shipped with the MATLA...

14 years ago | 0

Answered
how to load a C# dll into a matlab project
Hi, You have to use NET.addAssembly to load a .NET DLL into MATLAB: <http://www.mathworks.com/help/releases/R2011a/techdoc/r...

14 years ago | 0

| accepted

Answered
How do you attach the documentation of your interfaces?
Hi, why not write the word file on a button click? Read the word file as binary into matlab and save it as an mat file. This ...

14 years ago | 2

Answered
why c# connect with matlab it to slow? and why my matlab compiler don't know imfill function?
Hi, when calling your function in C# it is slow because the MCR gets loaded. This operation take some time. The actual comput...

14 years ago | 0

Answered
Changing proportion of y axis
Hi, I would start with something like this: h = plot(1:10); set(h,'YData',get(h,'YData')*60) So you change the a...

14 years ago | 0

Answered
How to save a MATLAB graphic in a right size .pdf?
Hi, you can do it in MATLAB through: h = figure; plot(1:10); set(h,'Units','Inches'); pos = get(h,'Po...

14 years ago | 44

| accepted

Answered
Java Interface with Matlab
Hi, this needs some rewrite of your ML and JAVA code. You have to use the figtoimstream function: <http://www.mathworks....

14 years ago | 0

Answered
Find minimum value within struct
Hi, I think you have to convert from a structure to an array. Maybe like this: >> data.a = 1; >> data.b = 2; >...

14 years ago | 0

| accepted

Answered
"Failed to decrypt file" running standalone application
Hi, I think your question is related to: <http://www.mathworks.com/support/solutions/en/data/1-9IXBLS/index.html> So fi...

14 years ago | 0

Load more