How do I get the inverse laplace of this time function?
Use the tf2sym function from https://www.mathworks.com/matlabcentral/fileexchange/10816-ovivero-mimotoolbox Transfer functions...

4 giorni ago | 0

| accepted

The MATLAB license may need to be borrowed as well, unless you have a LNU (Login Named User) license for it on your system. LNU...

4 giorni ago | 0

How to rename field in a struct?
In current releases of MATLAB it is not possible to get numeric field names, not even if you load a file written by third-party ...

5 giorni ago | 0

Error using optimization tool bx
linprog() does not permit a function handle as the first argument. linprog is linear programming, which permits the problem to b...

5 giorni ago | 0

need help with textscan order
S = fileread(Save_Airfoil.txt); S = regexprep(S, '^.*---\s*\$', '', 'lineanchors'); dataBuffer = cell2mat(textscan(S, '%f%f%f...

5 giorni ago | 0

interp1 find values at axis zero problem The grid vectors must contain unique points.
The below entry numbers ignore the header line (so they refer to array indices) Entry #102 occurs again at #111 Entry #105 occ...

5 giorni ago | 1

| accepted

Indexing and iteration problem. Few lines holding me back. Please, HELP!
Em(a,b) your a and b are floating point numbers which cannot be used as indices. Em(ind_am, ind_Am) It is confusing that...

5 giorni ago | 0

How to print contents of nested cell array to uitable?
Astr = cellfun(@string, A, 'uniform', 0); Alen = cellfun(@numel, Astr); maxlen = max(Alen); FirstN = @(V,N) V(1:N); Astr =...

5 giorni ago | 0

Rounding numbers below 0.7 to 0.7
Recommended: efficiency_final_array = max(efficiency_final, 0.7); For some reason this code never executes the if statement in...

5 giorni ago | 1

How to create an infinite matrix?
You cannot. The maximum array size in MATLAB is 2^48 - 1.

5 giorni ago | 0

| accepted

Finding the location of particular value
[maxacc, maxaccidx] = max(acceleration); maxaccvel = velocity(maxaccidx);

5 giorni ago | 1

| accepted

TCP congestion control algorithm
Is there anyone who could help me to have some suggestion regarding TCP congestion control algorithm. A number of them are desc...

5 giorni ago | 0

| accepted

How to get the corresponding data from a table
If the efficiency number is an individual entry stored in the efficiency map, then: eff_number = interp2(X, Y, Eff, speed_of_in...

5 giorni ago | 0

| accepted

How can i write this function in matlab?
No, u(t) represents the unit step function. You should use heaviside(t) but watch out for the value at heaviside(0) You can a...

5 giorni ago | 0

How to remove commutativity from symbolic multiplication
In MATLAB, individual symbolic variables are always assumed to be scalars, and commutivity applies to scalars. It is not *imp...

5 giorni ago | 0

| accepted

splitting up time series into separate chunks?
When you use plot() with a timeseries object, the time involved is already embedded in the timeseries object. Therefore you only...

6 giorni ago | 0

| accepted

Transform char variable to matrix
tmp = {'002,005';'002,003';'002,005'}; NewVar = cell2mat(cellfun(@(S) sscanf(S, '%f,%f').', tmp, 'uniform', 0));

6 giorni ago | 0

| accepted

Legacy MATLAB R2009b and R2015b stopped working after update from MacOSX 10.11 to 10.13
You need to install the Java 6 Legacy Runtime; https://appuals.com/how-to-install-legacy-java-se-6-runtime-on-macos/ Caution: ...

6 giorni ago | 0

Index in position 2 is invalid. Array indices must be positive integers or logical values.
Warning: this produces one figure for each phi value !! Your code structure does not accumulate or average values over the diffe...

6 giorni ago | 0

Error using subplot, cannot set property to a deleted object
sliceViewer deletes the axes of its parents, so you cannot put it into a subplot. However, sliceViewer can be put into a uipane...

6 giorni ago | 0

| accepted

how can add path of specific file in another file of matlab?
You cannot add the path to a specific function. You can cd to the directory that the function is in, and @ the function name ...

6 giorni ago | 0

Not enough input arguments
You are trying to run the code by clicking on the green Run button. You need to go down to the command line and invoke the funct...

6 giorni ago | 1

| accepted

Definite integral computed for different data points, where limits of integration change with each data point
You need to do each integration separately. Using 'ArrayValued' is incorrect for your purpose. I would suggest you get the who...

7 giorni ago | 0

Is fread() in MATLAB and C different? Yes Can I directly use this comman in a C program. WOuld it give the same result?? No, ...

7 giorni ago | 0

| accepted

error while reading and selecting images randomly from multiple folders
F = {S(X(1:5)).name}; % randomly select 5 filenames. That gives you 5 filenames relative to the current folder fn = f...

7 giorni ago | 0

| accepted

How can assign a color channel to an image series?
The classic reason to get out a black window when you use imshow() but imshow() with [] looks okay, is to start with image data ...

7 giorni ago | 0

| accepted

calling a nested function in matlab
feval() and str2func() only look for functions in the "top level" namespace -- the functions with corresponding .m or .slx or .m...

7 giorni ago | 0

7 giorni ago | 0