Answered
Adding additional column into the array
Reducing row size from 100 to 5 for clarify of answering here. >> A = zeros(5,3) A = 0 0 0 0 0 ...

3 months ago | 0

| accepted

Answered
How to find out distance of two different location using their latitude and longitude?
This is pretty easy if you have the Mapping Toolbox: >> [xNorth, xEast, xDown] = geodetic2ned(23.254712039, 87.846917766, 0, ...

3 months ago | 0

Answered
compiled app runtime problem
I found a similar answer to your problem: https://www.mathworks.com/matlabcentral/answers/513042-when-working-from-home-why-d...

3 months ago | 0

Answered
How do i use trapz to integrate each element in a nx1 matrix?
trapz is for numerical integration. It does not work on symbolic equations. For symbolic integration use the "int" function fr...

3 months ago | 0

Answered
Microsoft Visual Studio 2022 set up as default C and C++ compiler in Matlab 2021a
This was added in R2021B Update 3. Not sure if R2021A will ever get this update. VS 2022 was release only very recently.

3 months ago | 1

Answered
Is there any way to speed up fclose when writing many small files?
Maybe push all the closing to the end and use fclose('all')? Is it possible there is still a write operation being completed an...

3 months ago | 0

Answered
Omit detrending in certain portion of signal
You can use an index vector and the 'SamplePoints' option for the detrend function: >> n = 1:length(signal); >>n = n'; >> I =...

3 months ago | 0

Answered
Copy elements in a structure or a matrix?
Here are some sample commands for creating and copying structure arrrays: A(1,1) = struct('X', 1, 'Y', 2, 'Z', 3) A(2,1) = s...

3 months ago | 0

Answered
no checkerboards detected in the images
The other camera looks a little washed out in sections due to lighting glare. Try running both images through the single camera...

3 months ago | 0

Answered
Difficulty with using sscanf to perform natural order sort on filename list
You might have better luck with grep, but this appears to work with your test cases. sscanf stops at the first character that c...

3 months ago | 0

Answered
How do I track changes in a Simulink model?
You can add a Model Info block to your model, or a DocBlock. Every model or library has a version number that is incremented ev...

3 months ago | 0

Answered
How can I solve enumerated value access error in Matlab ?
If your enumerated type does not have a value for 2047, and you try to convert an input value of 2047 into the enumerated type, ...

3 months ago | 0

Answered
Best methods for creating custom component libraries and sharing them amongst mutliple users.
MATLAB supports GIT or SVN. You could use others but there is no MATLAB integration. https://www.mathworks.com/help/matlab/sou...

3 months ago | 1

Answered
I selected the license during install but when I run it i get license manager error -83
Here is the web site for MATLAB support: https://www.mathworks.com/support/contact_us.html?s_tid=sp_ban_cs

3 months ago | 0

Answered
Real-time data acquisition and data plot problem
If the frequency of the signal is maybe 50 Hz or less it might look OK. Windows and Linux processes typically can only handle e...

3 months ago | 0

Answered
Fourier series doesn't approximate with bigger number of points
The fourier series coefficients should be divided by pi when calculating the reconstruction: https://mathworld.wolfram.com/Fo...

3 months ago | 0

Answered
If I reset my laptop, do I have to re-purchase Matlab?
If you have a valid account and license, verify you can download the software now. Then, as long as you are not changing any ha...

3 months ago | 0

Answered
Merge data from multiple XML files
Try typing "doc xmlread" and use the examples in that help article to try parsing your own XML files. For more help here you sh...

3 months ago | 0

Answered
while installing matlab 2019a i faced error 5 please give me a proper ans to solve this error.
If you are using a network license for MATLAB, perhaps there are a limited number of licenses for Polyspace and they are in use ...

3 months ago | 0

Answered
Optimization Toolbox Genetic algorithm
The Live Editor has diferent types of "Run" functions. You probably want "Run" all instread of running a single section. Or if...

3 months ago | 0

| accepted

Answered
How can I stack images from multiple folders?
montage or imtile should work for what you want.

4 months ago | 1

Answered
Plot surface from Lat/Lon/Depth/Data with different size depth
This might help with a starting point. Of course you will fill in your own depth data and coordinates. lat = 35:(1/35):36-1/...

4 months ago | 0

Answered
How to extract data from an array
Use signal= sig(i-20000:1:i+50000); And you probably need checks in case i < 20000 or i > (end - 50000) as special cases...

4 months ago | 0

| accepted

Answered
Huge 6DOF model has performance issues
Are you using model referencing with this? A reference model has its own cache file which only needs to be updated when that mo...

4 months ago | 0

Answered
Compare MATLAB and SIMULINK?
Adding to previous answers on this, and updating for changes in the Mathworks product offerings: Simulink diagrams can server a...

4 months ago | 0

Answered
What is wrong with my code?
xH, yH, and BPH are all scalar values. They must be the same length as fBPH(T). In this line to you mean to pass a vector argu...

4 months ago | 0

Answered
Combining many variables into one table
You can use addvars in a for loop to successively add columns to a table. Note all table columns will need to have the same num...

4 months ago | 0

Answered
How to use the 'date picker' date as input from the user?
You should enclose the second argument to ismember in single quotes, as in: [idx R1]= ismember(IN1,'Date');

4 months ago | 0

Answered
Matlab Fit Geo Trans
imwarp accepts an argument 'FillValues' if you want to specify some other intensity or color. Depending on the nature of the tr...

4 months ago | 0

| accepted

Answered
Which Parallel Computing method to use for my software
The random feature and the writing back into a common data matrix are the biggest problems here. If there are enough columns in...

4 months ago | 0

| accepted

Load more