Answered
MinGW installation for Matlab R2019a
You were trying to install MinGW for R2019a during a time when R2019a was only available in pre-release (Stream "a" releases of ...

13 days ago | 0

Answered
How to change the volume dimensions in niftiread.
niftiread just returns an array of data, without any particular size of voxels. You would have to use niftiinfo to fetch informa...

13 days ago | 0

Answered
Need to find a specific point on a line using data from a 2 column matrix
Your y data has multiple different x values for most y values. Interpolating using y as the independent variable and x as the de...

13 days ago | 0

Answered
Error in multolying a number and function handle
tanfi=@(x) tand(x(1)); Up to this point, you are creating function handles -- pieces of code that do not take action directly, ...

13 days ago | 0

Answered
How to write a table in a textarea on a Matlab App?
app.Zsc.Value(cas)=compose(formatSpec,Out_Zsc(cas)); First off, your code Out_Zsc(cas) is an attempt to subscript at table with...

13 days ago | 0

Answered
Que hacer cuando aparece un dato discreto NaN
In the worst case, there might be nothing you can do. But possibly what you could do is convert your for loop into a while loop...

13 days ago | 0

Answered
use map data structure with simulink -android
Containers.map data structures cannot be output from Simulink blocks. The newer dictionary data type also cannot be output from...

14 days ago | 0

Answered
Audioread Bug with Opus (maximum value returned exceeding 1)
I would say it is a bug. audioread() documents If you do not specify dataType, or dataType is 'double', then y is of type doubl...

14 days ago | 0

Answered
compute square rooot and square of each element
You can use element-wise power, the .^ operator. For example x = [27 64] x.^(1/3)

15 days ago | 0

Answered
Can I use figures generated by view(net) command freely in my thesis and academic papers?
Yes, you can use derived outputs in your publication. license_agreement.txt Program Offering Guide Release 2024b Part Two:...

15 days ago | 1

Answered
Facing issue in executing P code
In email you sent me another important detail, namely that your primary error is "file is created before 2007 b." At this poin...

16 days ago | 0

Answered
Which model did detect use?
No. detect() for laneBoundariesDetector objects documents, The laneBoundaryDetector object detects lane boundaries in images by...

16 days ago | 0

| accepted

Answered
How do I replace colordef?
As of R2025a (currently in pre-release) there are new facilities for controlling desktop color schemes that overlap with colorde...

16 days ago | 0

Answered
Why does containers.Map('KeyType','double') silently return a map with KeyType 'char' ?
containers.Map('KeyType','double') is interpreted as being an instance of calling M = containers.Map(keySet,valueSet) You nee...

17 days ago | 0

| accepted

Answered
Why trapz is giving me negative area?
The syntax of trapz() is trapz(X, Y) -- so independent variable followed by dependent variable. If you trapz(freq, power) then ...

18 days ago | 0

| accepted

Answered
Hi everybody. I'm kind of new to MATLAb and looking to get more efficient in my coding. This feels clunky to me and I feel like I could definitely shorten it. Any ideas?
You do not need the loops. for f = 1:4 DeltaV(f) = ve(f,1)*log(mi(f,1)/mf(f,1)); mf_DV2(f) = mi(f,1)/(exp(DV2/(ve(f,1...

19 days ago | 0

Answered
PIN configuration without Hardware Support Package
No, it does not.

19 days ago | 0

Answered
How to use neural network classifier in predict function?
See https://www.mathworks.com/matlabcentral/answers/427309-classify-requires-at-least-3-arguments#answer_445205 for more informa...

20 days ago | 1

Answered
Adding Volshow Plot to Existing Figure
There is no apparent way to combine volshow() with anything else. The volume object returned by volumeViewer() does not have an ...

20 days ago | 0

Answered
rect function on the interval x= -5:0.1:5.
Well, as a basic framework it is fine... after making y a call to rectangularPulse... and after changing the title and ylabel.....

20 days ago | 0

Answered
Convert Set of (x,y) Coordinates Into Polygon
load coordinates coordinates = coords; k = boundary(coordinates); plot(coordinates(k,1), coordinates(k,2))

20 days ago | 1

Answered
Using msiwrite with phased antenna objects
msiwrite() is defined in the Antenna toolbox. phased.ShortDipoleAntennaElement is defined in the Phased Array System Toolbox. ...

20 days ago | 1

| accepted

Answered
Variable number of inputs in inputdlg with pre-selected values when inputs equals 6
In the inputdlg() call, the third position is field size, not default input. answer = inputdlg(prompt,dlgtitle,fieldsize,defin...

20 days ago | 0

| accepted

Answered
urlread - IP address could not be determined
urlread accepts a Timeout option However, the Timeout is on reading data only. There is no option for telling urlread to retry ...

20 days ago | 0

| accepted

Answered
how does trimr function work
The code for trimr is shown in https://www.mathworks.com/matlabcentral/answers/452463-functions-may-be-used-incompatibly-or-rede...

20 days ago | 0

Answered
I want to make a plotmatrix that changes styles depending on what is selected in a dropdown menu. I keep getting errors about the linespec and Im stuck.
Your Items list for uidropdown() include leading and trailing quotation marks, as-if you had set them by using app.ColorDropDow...

20 days ago | 0

Answered
Removing Background from image or a video
There is no possible technique for automatically subtracting background. Consider solar observation telescopes. Most of the t...

21 days ago | 0

Answered
How to devide a matrix (n x 1) into 2 matrixes equally ?
A1d = A1(1:ceil(end/2))

21 days ago | 1

| accepted

Answered
defining upper and lower limits of a matrix
The minimum and maximum value of a matrix are what they are. The best you can do is to create a new matrix with the desired char...

21 days ago | 0

Answered
Variables from CSV column read incorrectly
You are seeing an artifact of how the variable browser displays variables by default. To change this behaviour, use Preferenc...

21 days ago | 1

| accepted

Load more