Answered
How to apply Heaviside function over external force?
The laplace of a rectangular pulse can be written like s*(1-exp(-s*h)) where h is the width of the pulse. This can be written s=...

4 years ago | 0

| accepted

Answered
How to display multiple plots with tab options
First use @doc:uitabgroup() to contain a container panel . Then for each section to be put in its own tab, call @doc:uitab() to...

4 years ago | 0

| accepted

Answered
Can Matlab Online be configured to use significant computational resources, memory and CPU power? What hardware is the code actually running on?
Is it possible to run single-powerful-workstation-level computational tasks in Matlab Online? No We want a cloud-based replace...

4 years ago | 1

Answered
How to open file, clear content, rewrite conent and close.
DIR=fopen('C:\Users\jessi\Desktop\HydrusMC\LEVEL_01.dir','wt+'); That looks for a file named C:\Users\jessi\Desktop\HydrusMC\LE...

4 years ago | 0

| accepted

Answered
How to index the matrix only the first dimension of the rest
B=A(1,:); However this will treat it like temp = reshape(A, size(A, 1), []); B = temp(1,:); which would give you...

4 years ago | 0

Answered
How to plot polynomial function correctly?
polyfit() and polyval() and plot()

4 years ago | 0

| accepted

Answered
Convert signals of a mf4 file to double variables
https://www.mathworks.com/help/vnt/ug/read.html#bvcxtko-1 OutputFormat vector Have you considered just making a single cal...

4 years ago | 0

Answered
anonymous, piecewise-defined function that has NaN as response for a certain subdomain
... + 0./~(2<x & x<=4) If the value is *not* in the range then the basic logic test returns false and ~ that is true which is...

4 years ago | 1

| accepted

Answered
What does dsp.SpectrumAnalyzer do under the hood?
What it does "exactly" is set up a matlabshared.scopes.UnifiedSystemScope() and then update() the scope with the data.

4 years ago | 0

Answered
Legacy (old version) MATLAB programming fundamentals manuals
https://www.mathworks.com/help/releases/R2018a/pdf_doc/matlab/matlab_prog.pdf However if you do not have Software Maintenance ...

4 years ago | 0

| accepted

Answered
How to replace a row in a matrix using colon notation with another row
Matrix=[1,1,1;2,2,2;3,3,3;4,4,4] ReplaceRow=[0,0,0] desired = Matrix; desired(1,:) = ReplaceRow

4 years ago | 1

| accepted

Answered
Getting a List of Files.... Should Be Easy But
query_folder = tempdir; %set as appropriate, tempdir is just used for example purposes dinfo = dir( fullfile(query_folder, '...

4 years ago | 0

Answered
Creating a diagram from polynomial
P = [1 -2 4]; x = linspace(-10, 10, 500); y = polyval(P, x); lx = log10(x); rlx = real(lx); ilx = imag(lx); plot3(rlx,...

4 years ago | 0

| accepted

Answered
how to load image into matlab workspace
I= imread('IMG,jpg') ^ You coded a comma instead of a period. IMG.jpg not IMG,jpg

4 years ago | 2

| accepted

Answered
Workspace parameter values UPDATE while using "Mouse Call-back" function
There are two kinds of callback functions. By far the most common kind of callback function cannot return values. A small port...

4 years ago | 1

| accepted

Answered
whats wrong with this code?
varType=["double", "double", "double", "double", "double", "string"]; varNames=["Zone_nr", "Combinations_of_salts", "Weight_p...

4 years ago | 0

Answered
support of Java11
Mathworks will never be switching to Java 11. Mathworks is engaged in a multi-year process of getting rid of Java for their to...

4 years ago | 0

Answered
shade area between two yline
You cannot fill between yline() or xline(). yline() and xline() are reference lines that cross the entire axes and logically c...

4 years ago | 1

| accepted

Answered
Want to convert whole data in a binary/ text file in to binary digits
fopen the file. fscanf with %2x format. fclose the file. uint8() the data read. Now you have uint8 data and can convert it in...

4 years ago | 0

Answered
quat2dcm function error message
https://www.mathworks.com/help/aerotbx/ug/quat2dcm.html Input arguments q: Quaternion, specified as an m-by-4 matrix containi...

4 years ago | 0

| accepted

Answered
Why do I get a size mismatch error when trying to fit a surface using an external function?
Data is passed in in scattered form, not in grid form. Your function needs to return something the same size as x not length(x) ...

4 years ago | 0

| accepted

Answered
I want to find the number of decimal places, and my code is perfectly fine. But for some reason, when my value is 0.888, the length of the decimal is returned as 16.
In any finite-maximum-length representation of numbers, it is inevitable that some numbers will have to be approximated and will...

4 years ago | 0

Answered
How many iterations does a ODE solver like ode45 do? What do the dimension of outputs mean?
When you pass in tspan of length 2, ode45() decides for itself when to output. ode45() takes variable step lengths. At each s...

4 years ago | 1

| accepted

Answered
How to make a 3D occupancy grid by extruding a 2D gray scale image?
x = linspace(0,374.377,1052)'; y = linspace(0,184.342,518)'; x is a column vector of length 1052, y is a column vect...

4 years ago | 0

| accepted

Answered
How to create an if loop with conditions
if numel(diametre) > 66000

4 years ago | 0

| accepted

Answered
where can I get the supporting file "helperViewDirectionAndDepth.m" for Monocular Visual Simultaneous Localization and Mapping?
Note that the following will not be of any use to you if you do not have Computer Vision Toolbox, a new enough version to have t...

4 years ago | 1

Answered
Absence of share option in app designer in MATLAB online
Coursera licences are Student licences, and Student licenses do not have access to those products. The limitation is not MATLAB ...

4 years ago | 0

Answered
How I can solve the problem of Loop?
Y=X+9+26

4 years ago | 0

| accepted

Answered
How to set the colors and numbers of a colorbar to special values
use caxis() to manually set the range of numbers that colors are mapped from

4 years ago | 0

Answered
Cumulative element-wise average from 3D matrix
A_new = cumsum(A, 2) ./ (1:size(A,2));

4 years ago | 0

| accepted

Load more