Answered
¿Como remuestrear?
There are multiple ways to resample data, including using resample(), which uses upfirdn() to perform a polyphase interpolation;...

ein Tag ago | 1

Answered
Is it possible to get an email notification when a new question is raised?
At the top of the list at https://www.mathworks.com/matlabcentral/answers/ you will see a link "Subscribe to this view" that lea...

ein Tag ago | 0

| accepted

Answered
Where/How exactly do I create an ODE Event Location Function?
You are using [T,Y] = ode45 ('StraightRun', t, y0, opt); % Calls function specifying the function to be exec...

ein Tag ago | 1

Answered
How to store time data separated by colon (e.g 15:59:51:111) as a single data point in a matrix?
Assuming that you are reading from a file %overhead to get the data into a file S = [ "time,Latitude,Longitude," "15:59:51:1...

ein Tag ago | 0

Answered
How can I limit the load function?
In some cases, you can use matfile to access parts of a variable without loading the entire variable.

3 Tage ago | 0

Answered
how to make this faster?
The programming model of A(B==1)=2; is as if it first compares each element of B to 1, creating a temporary logical array, and...

3 Tage ago | 0

Answered
How to flot the function f(x,y)=(x^(2)+y^(2)) ℯ^(y^(2)-x^(2))
Generally speaking, you might hope to stop drawing a surface at the point at which it gets boring, because the derivative become...

3 Tage ago | 0

Answered
Discrepancy in imagesc from given matrix
Remember that z(150,50) is z at the 150th Y value and the 50th X value. Rows correspond to Y not to X.

3 Tage ago | 1

| accepted

Answered
Warning while loading an anonymous function
You are calling functions() on the version of the function loaded from the file, rather than looking at what is stored in the ma...

3 Tage ago | 0

| accepted

Answered
I want to store the value generated by the for loop into a new variable so I can use it further in my code. How do I do it ?
for iIdx = 1:4 for jIdx = 1:4 total = iIdx + jIdx; num(iIdx, jIdx) = rem(sum, 2); end end

3 Tage ago | 0

| accepted

Answered
How do I create a multiple keywords search engine?
You can get the keywords from the user using any of inputdlg(), uitable(), uicontrol('style', 'edit') or uieditfield() Once y...

4 Tage ago | 0

Answered
How to select one column value and the values associated in that row and plot
mask = ismember(YourTable.Node, 'C1'); subsetC1 = YourTable(mask, :);

4 Tage ago | 0

| accepted

Answered
How to pass if statement string from excel to Matlab and construct a function
You are designing your own language representation in Excel. Unless you deliberately make it mechanically translatable to MATLAB...

4 Tage ago | 0

| accepted

Answered
i tried to use bundleAdjustment function, but error is The number of 3-D points must match the number of point tracks.
You need to pass in a vector of pointTrack objects, but you are only passing in one.

4 Tage ago | 1

Answered
filtfilt licence error ONLY within parfor
I recently saw a Mathworks Support post on this topic, but possibly a different toolbox. The post said that it is a bug, and the...

4 Tage ago | 0

Answered
I want to find use regioprops and find the centroid of this shape along with other properties such as area of this shape. any ideas?
filename = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/1094395/image.jpeg'; img = imread(filename); bw = i...

5 Tage ago | 1

| accepted

Answered
Using function handles in a ODE function
Your Y1, Y2, Y3 are numeric. Your dY3dt is a function handle. You try to put those all together in one array. Your function ne...

5 Tage ago | 0

Answered
APP not starting - Unrecognized property 'BackgroundColor' for class 'matlab.ui.container.GridLayout'.
You need R2020b or later to use that .p file.

5 Tage ago | 1

| accepted

Answered
What is LBL file format and is it possible to open it in MATLAB?
[Copying from comment] The LBL (label) file contains fields that give explicit field number (column number) and field name...

5 Tage ago | 0

| accepted

Answered
What is the differences between Annual and Perpetual licenses
Perpetual Non-Student: You can use that version of the software for as long as your organization exists (and you continue to ru...

5 Tage ago | 1

| accepted

Answered
How to do vehicular simulation in Matlab?
See https://www.mathworks.com/products/automated-driving.html and https://www.mathworks.com/videos/matlab-and-simulink-racing-...

5 Tage ago | 1

| accepted

Answered
how to append data in hdf5 file.
hdf5write('check_v1.h5','/g1/coordinates',all_data); hdf5write('check_v1.h5','/g2/coordinates_vel',all_data1, 'WriteMode', 'app...

5 Tage ago | 0

| accepted

Answered
Saving a table-type variable to MAT file column by column in For-loop
outdir = pwd(); var = [num2cell(rand(4,3)), {'Steve';'John';'Paul';'Evan'}]; A = splitvars(table(var)); A.Properties.Variab...

5 Tage ago | 0

| accepted

Answered
Why is my histogram only displaying 3 bins? And why is the xlabel not printing?
You ask for BinWidth 0.01 . Perhaps your data spans less than 0.03 so only 3 bins are justified. xlabel('\$Q_\mathrm{ice} \mathr...

5 Tage ago | 0

Answered
Customizing the axis on a plot - Mainly the tick marks
ax = gca; xticks(ax, 0:100:600); xlim(ax, [0 600]) ax.XMinorTick = 'on'; yticks(0:10:40); ylim([0 40]) ax.YMinorTick = 'on...

5 Tage ago | 0

| accepted

Answered
Editing structure fields using a MATLAB App
assignin() can only assign to complete un-indexed variables. You will need to load the current struct into your workspace, modi...

5 Tage ago | 0

| accepted

Answered
Integrate a polyfit-polyval in matlab, I would appreciate any input. I want to calculate the integral of the sine function from a trend li
https://www.mathworks.com/help/matlab/ref/polyint.html polyint() the component vector to get the integral of the polynomial, ...

5 Tage ago | 0

Answered
error in ode45 command
You could experiment with ode23s but it will probably lead to the same result. You have a singularity in your equations when ...

5 Tage ago | 0

| accepted

Answered
I am trying to print a structure array
structfun(@(F) mat2str(F), lambda3, 'uniform', 0)

5 Tage ago | 0