Answered
Why receive error message "Could not find variable or group 'Bandl' in file."
You are asking to access Bandl with the final character being lower-case L . The variable in the file is Band1 with the final ch...

3 years ago | 0

Answered
Plotting functions anf computing gradient
sin(xy) is sin(x*y) not sin(x,y) f = @(x,y) x*sin(x*y) - y*sin(5*y); syms x y jacobian(f(x,y)).'

3 years ago | 0

| accepted

Answered
How to use 1D projections to reconstruct an image?
Sounds like a job for iradon

3 years ago | 1

| accepted

Answered
Plot time against numbers
aa = cell2mat(dataraw_GSR_RELAXING.CREATION_TIME(1:283)); bb = cell2mat(dataraw_GSR_RELAXING.VALUE(1:283)); plot(aa, bb)

3 years ago | 0

| accepted

Answered
What do these codes do?
function [trainFiles] = URL_featureExt_AI(urlnames) That declares that you are starting the definition of a function. The funct...

3 years ago | 0

Answered
Matlab for loop with string letters
numvars = width(T); data_1 = cell(numvars,1); for K = 1 : numvars data_1{K} = T{:,K}; end Now, data_1 is a cell array w...

3 years ago | 0

| accepted

Answered
Invalid Host Name using wget?
!PATH=/usr/local/bin:$PATH wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies "$URL" W...

3 years ago | 0

Answered
MATLAB help 2D convolution
outpu_image1 = my_convolution('Figure4.jpg',filter_1); You are passing in the character vector 'Figure4.jpg' not the content of...

3 years ago | 0

Answered
Find position of specific digit in a number
A = [123; 312] B = cell2mat(strfind(string(A), '3')) This will fail if any entry does not have exactly one 3. And watch out fo...

3 years ago | 0

| accepted

Answered
Arrays have imcompateble size error
The problem you were encountering is that your variable named histogram is a column vector, but you were combining it with row v...

3 years ago | 0

| accepted

Answered
readtable doesn`t work as prior version (2018b vs 2023a)
Use detectImportOptions to create an options structure. Use setvartype() on the structure to set the column to be either char or...

3 years ago | 1

| accepted

Answered
function undistortPointsImpl can't be opend or find
The function is a hidden method in toolbox/vision/vision/cameraParameters.m However reading the source will not do you much g...

3 years ago | 0

Answered
Please how can I calculate the values of this finite sum of numbers in fully sequential , I'm finding it difficult
Example: syms i n symsum(i^(-7), i, 1, n) char(ans)

3 years ago | 0

Answered
Very slow function, excessive overhead?
You are not assigning to flag within your loop, so you should use flagrows = size(flag,1); while i < flagrows end The ...

3 years ago | 0

| accepted

Answered
Matching Values from one Table to Another
Change FirstVID = NewTab (:,["FirstVID"]) to FirstVID = NewTab {:,["FirstVID"]};

3 years ago | 0

| accepted

Answered
Writetable() truncates numbers to four decimal places in XML file
The internal code in matlab.io.xml.internal.write.writeTable uses string() on the numeric data and string() outputs 5 significan...

3 years ago | 1

| accepted

Answered
MATLAB ERROR for logic operation in strel?
struct_et = strel('disk', 5); That is 1 x 1 object of class strel dilated_img = dilation(carplate_bw, struct_et); That is pas...

3 years ago | 0

Answered
Error: /bin/bash: wget: command not found
I have wget installed on my path If you are using MacOS, then probably, NO, you do not have it installed on your path. Probably...

3 years ago | 0

Answered
How to set a default value to a map container in argument validation?
test = containers.Map isa(test, 'handle') Therefore if you were to pass in a container.Map to the constructor and copy what wa...

3 years ago | 0

Answered
I want to execute Astar algorithm for path finding in the below code.Can someone please correct my code with .There seems to be a looping error.
The file you attached contains openlist(1,1) startKey Notice you forgot the "=" in the assignment. You have a number of probl...

3 years ago | 0

Answered
The following error appears when i trying to solve this matrix "the matrix A is concatenated are not consistent".to write this matrix in state space Simulink A original given
Your row 5 and row 6 involve trig functions applied to yaw such as sin(yaw) . However, your yaw is 1 x 40, not scalar. You will...

3 years ago | 0

Answered
How to IFFT only frequency information
In the special case that the difference between frequencies is a multiple of a consistent fraction, then you can take diff() of ...

3 years ago | 1

Answered
Measure time until type a certain key
The time that something in video happens should be derived from the frame number and the frame rate that the action is detected ...

3 years ago | 0

Answered
divide every numeric value in table by same number
divisor = 2; T = table(["hello"; "orange"], [1;3], [2; 4]) vt = vartype('numeric') T{:,vt} = T{:,vt} / divisor

3 years ago | 1

| accepted

Answered
How I can fix my problem when I add a function to the main script within for loop and run iteration was made with an error?
for i = 1:K i X = [X0 zeros(1,K)]; You overwrite all of X each iteration of for i X(i+1) = Xr; You overwrite one...

3 years ago | 0

| accepted

Answered
Can I see the code for a Matlab Function?
function_name = 'ordfilt2'; location = which(function_name); if isempty(location) error('could not find function "%s" a...

3 years ago | 0

Answered
Nested Function is not working correctly with ode45
In MATLAB, (A<=B)<=C does not mean to test whether B is between A and C. Instead, it means to test whether A<=B and if so emit 1...

3 years ago | 0

Answered
How to find derivatives using the diff command
It is possible to apply symbolic diff() to a function handle of an anonymous function -- but you have to specifically mention a ...

3 years ago | 0

Answered
How do I change the output of the graph from velocity to acceleration?
Use gradient(x, y(:, 2)) to estimate the acceleration

3 years ago | 0

Answered
MATLAB Crashes When I Update and Copy in New Mex File
clear mex This will not affect files in use. I am not sure what would happen if you had a function handle that refers to...

3 years ago | 0

| accepted

Load more