Community Profile

photo

Benjamin Schwabe


25 total contributions since 2012

Professional Interests: Automation

Contact

Benjamin Schwabe's Badges

  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
How to solve a system of three ODE
Hi James, start writing it in a vectorform with x=(S,E,I); Then you have x(0)=x0 as defined and you can write dx/dt=f(x); cre...

8 years ago | 0

Answered
help! array, data and textdata
You might try a structure or a cell array. I would try the cell array in your case. Benjamin

8 years ago | 0

Answered
Needs Checkbox to draw a plot
Hi Aleksandra, I am not sure where you are stuck, so I try to be a little more detailed than John. Use GUIDE to design you...

8 years ago | 0

Answered
Thermal Modelling
Hi, the thermal conductivity equation is a partial differential equation which you might transfer into a (stiff) system of OD...

8 years ago | 0

Answered
Solving Nonlinear Equations - 3 equations 3 unknowns
You might be able to use a newton iteration for this problem. The MATLAB command is fmincon (you require the optimization toolb...

8 years ago | 0

Answered
tilt angle of cylinder using euler angles
You will have to use the Euler Angles. Rotating a cordinate system is exactly what they are doing.

8 years ago | 0

| accepted

Answered
matlab GUI for control serial output
Hi, please have a look at the GUIDE command. It will allow you to set up any GUI. The only thing you have to do afterwards is...

8 years ago | 0

Answered
about creating array
Could you please be more specific? Is it a numeric array or a cell array? You can add easily an additional row or column like t...

8 years ago | 0

Answered
iterating A Function
I'm not sure if that's really what you want to have: Define a matrix A=[2,3,4;5,6,7;8,9,10]; R=((A(:,1)-A(:,2))....

8 years ago | 0

| accepted

Answered
How to solve matrix as a function
What does m^2 mean? It's a vecor, isn't it? Componentwise operation? Or is it a real vecor-vectormultiplication resulting in a s...

8 years ago | 0

Answered
varargin
varargin is used when the number of input parameter might change. Basically, it puts all input arguments into a cell array. The...

8 years ago | 3

Answered
dynamic variables
Hi AYAH, why do you want to do this, you really might want to use a vector with X(1),X(2),...,X(10), they are dynamic in MatL...

8 years ago | 0

| accepted

Answered
Data interpolation. Observation and experimental data are reported on different timescales and need to be aligned.
Depending on the data, try interp1 or interp2, etc.

8 years ago | 0

| accepted

Answered
How to store data in matrix
I dont' really get what you are trying there, but I'll try to give you an idea, what you could experiment with... First thin...

8 years ago | 0

Answered
Number to matrix
You can do that by simply using the following code: p = 12345; % define your number pstr=num2str(p); n=leng...

8 years ago | 0

Answered
Do you think that MATLAB is expensive?
The two levers for price are: Demand and Offers. I guess we all agree on a demand for professional computing/programming solutio...

8 years ago | 1

Question


Shared Library (dll) called by another Shared Library (dll)
Hi all, I'm dealing with a two-level-driver of some hardware which I'd like to control from MatLab. There are two dll files i...

8 years ago | 1 answer | 0

1

answer

Answered
pdist2 function
Okay, my MATLAB does not know a pdist2 function, only pdist. (I am using MatLabd r2009b) Could it be that simple? Otherwis...

8 years ago | 0

Question


Dynamic Library without a .h file
Hello all, I'm trying to establish communication with a hardware tool and it's API is given by a two-level approach. For t...

8 years ago | 1 answer | 0

1

answer

Answered
connected first and last points
Hello Adam, I am not entirely sure that I understand your problem. You want to have line between the last and the first poi...

8 years ago | 0

| accepted

Answered
.mexglx in windows XP
Do you have the sourcecode that was used for the generation of the mexglx? If not, I have no clue and I assume that there is n...

8 years ago | 2

| accepted

Answered
Evaluating 3D Function
Hi, another easy way to do that, is using the meshgrid command. x = linspace(1,5,100); y=linspace(1,5,10); [X,Y] = meshg...

8 years ago | 0

Answered
Solving system of linear equations in S domain?
Could you give the "systematic" of the equation? I basically assume, you have a system of differential-alegabric-equation. A loo...

8 years ago | 0

Answered
Warning loadline: Data type ULONG,UCHAR,... unknown which are used in h-file
I found that these are the declarations used in C++, but the correct syntax in C is unsigned long, etc. That resolved the war...

8 years ago | 0

| accepted

Question


Warning loadline: Data type ULONG,UCHAR,... unknown which are used in h-file
Hello everyone, I'm trying to load a shared library, called Gen3.dll, into MATLAB. The corresponding header file is gives som...

8 years ago | 1 answer | 0

1

answer