Answered
Plotting satellite elevation and azimuth using skyplot
You have to make all data into a one dimensional vector, not a two dimensional matrix. One quick way is to use one colon instea...

3 years ago | 0

| accepted

Answered
Plotting satellite elevation and azimuth using skyplot
skyPlot is intended to show a snapshot of multiple satellites rather than a plot history. Type "doc skyplot" for details. Here...

3 years ago | 0

Answered
Runge-Kutta matlab library
ode45 is the closest Runge Kutta implementation for what you are describing. Type "doc ode45" for details.

3 years ago | 0

Answered
How to store the difference between adjacent pixel values of image
Use imfilter with a 1D filter argument. If your h is vertical then the difference operation is in the vertical direction. If t...

3 years ago | 0

Answered
What is the equilavent function for niftiread in 2016 matlab? Can't upgrade on current SSH
There are some third party posts of code for reading Nifti on the MATLAB File Exchange.

3 years ago | 0

| accepted

Answered
Bad Image Rectification after Stereo Calibration and Image Rectification (From 2D to 3D)
If you are using this function, note its description in the documentation: [J1,J2] = rectifyStereoImages(I1,I2,stereoParams) ...

3 years ago | 0

Answered
how to find lines and update values in an XML file and then export the updated XML file?
The easiest thing (other than just your own text editor), is xml2struct and struct2xml from Wouter Falkena from the File Exchang...

3 years ago | 0

Answered
Concatenation of multiple matfile into one matfile
MAT files contain a list of variables with your data. Please post a sample MAT file for the Community to see if you have furthe...

3 years ago | 0

Answered
Hello. I'm using the following code in embedded matlab in simulink. And I,m getting the message that Variable 'D' is not fully defined on some execution paths. And i don't kno
If DeltaVA could evaluate to zero then D will not be defined. If you want to be sure D is defined, then initialize it to a good...

3 years ago | 0

| accepted

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 years 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 years 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 years 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...

4 years 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.

4 years 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...

4 years 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 =...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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, ...

4 years 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...

4 years 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

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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 ...

4 years 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...

4 years ago | 0

| accepted

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

4 years ago | 1

Load more