Answered
1 Variable wird nicht in der Formel benötigt aber hat irgendwie relevanz
Hallo, dass die Variable nicht verwendet wird, bezieht sich wohl auf die Funktion Ue_6_1_f. Das ist bei Differenzialgleichungen...

1 year ago | 0

| accepted

Answered
Schnittpunkt einer Geraden mit einem plot aus einer sehr großen Wertetabelle ermitteln
Hallo, bei solchen Fragen bitte generell Beispieldaten und bisherigen Code zur Verfügung stellen, damit man darauf aufbauen un...

1 year ago | 0

| accepted

Answered
wie kann ich aus einer excel datei ein plot coden/ how can i code a plot from an excel file?
Hi, my recommendation would be: 2), in the end: filename = fullfile(path, file); then may=xlsread(filename,'Temperatur','A2...

1 year ago | 0

| accepted

Answered
Wie starte ich ein externes Programm mit bestimmten Inputs aus Matlab?
Hallo, das hängt davon ab, wie man das Programm direkt aus dem Betriebssystem aufrufen kann. Viele Programme erlauben es, nac...

1 year ago | 1

Answered
Error using icinterface/fopen (line 83) Unsuccessful open: OBJ has already been opened.
Hi, it might be too late for the OP but in case others read this: The error message indicates a connection that has not been c...

1 year ago | 0

| accepted

Answered
Name variable after today's date / Variable nach aktuellem Datum benennen
Hi, a variable name needs to start with a letter and must noch contain "special" characters such as German umlauts. It would on...

1 year ago | 0

| accepted

Answered
Data Compression in Simulink (currently with a quadtree) / Variable-Size Matrix
Hi, Simulink supports variable size arrays as output of a MATLAB Function block. You need to click "Edit Data" in the upper lef...

1 year ago | 1

| accepted

Answered
Error: Illegal use of reserved keyword "for". What does it mean in my Code. Need help!
Hallo, das ist zugegebenermaßen etwas gemein, weil die Wurzel des Problems an anderer Stelle liegt. Diese anderen Stellen werde...

1 year ago | 1

| accepted

Answered
Using intlinprog in Simulink
Hi Dan, the problem is that intlinprog is not supported for code generation and Simulink generates C code from the code contain...

1 year ago | 0

| accepted

Answered
Query Instrument - non-numeric value
Hi Tobias, to answer the final part: you can use the MATLAB Function block to incorporate MATLAB code into Simulink models. Be...

1 year ago | 0

| accepted

Answered
How to use parallel computing for a BytesAvailableFnc of a serial object?
Hi Oliver, you could use the backgroundPool function. This even works without Parallel Computing Toolbox. As soon as you run th...

1 year ago | 0

| accepted

Answered
Generating C Code from Matlab Code containing ODE15s Solver
Hi Hossein, it could be that you have not properly defined the input arguments of the function. My recommendation is to use the...

1 year ago | 0

Answered
Create a logarithmic Latin Hypercube Sampling distribution (with lhsdesign).
Hi Lorenz, I am not sure whether this is legitimate from the statistics point of view, but you could get a nice distribution by...

1 year ago | 1

| accepted

Answered
Wie klappt die normale und inverse Fouriertransformation?
Hallo, abgesehen von den Verschiebungen durch fftshift sind die Unterschiede zwischen Cor und FTFT_S_Cor in der Größenordnung v...

1 year ago | 0

| accepted

Answered
How to use set_param(BlockX, 'SampleTime') during runtime of Simulink?
Hi FJ, as the error message indicates, I don't think this can be done directly. My recommendation would be to choose the sampl...

1 year ago | 0

| accepted

Answered
Running external program as batch file with delayed inputs
Hi Jan, I would primarily consider that an issue of the .bat-file: if it is designed to accept multiple commands via a text fil...

1 year ago | 1

| accepted

Answered
On shifting spectra pixelwise towards lower/higher x-axis values by lsqcurvefit or such - constrain boundaries to integer values
Hi Michael, least squares solvers are based on gradients and I would therefore not use them for integer problems unless you can...

1 year ago | 1

| accepted

Answered
Nach Dateiauswahlen Pfade und Namen in Vector speichern
Hallo Maverick, zum Vorbelegen von Text würde ich strings verwenden. Beim Aufruf von uigetfile würde ich mir immer zwei Argum...

1 year ago | 0

| accepted

Answered
Füllen der Fläche zwischen zwei Vektoren mit NaN-Werten am Ende mit fill oder area ?
Hallo Niklas, mein Vorschlag wäre, eine Matrix aus lower und upper zu bilden und diese an area zu übergeben, und die Fläche zwi...

1 year ago | 1

| accepted

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 years ago

Solved


Repeat string n times
* You will be provided a string (s = 'string1_') * a starting point (num1 = 6) (always bigger than or equal to zero) * and n (...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

7 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

12 years ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

12 years ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

12 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

12 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

12 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

12 years ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

12 years ago

Load more