Answered
Convert .txt to .xls
Hi Michael, I understand that your goal is to process data from “TXT” files and convert them into “XLS” files using MATLAB. ...

1 year ago | 0

Answered
how to forecast and plot 1-step for a Log Spot Price (in expanding window)?
Hi Sharad, I understand that you want to forecast and plot 1-step Log Spot price and then plot the 1-step forecast and the ac...

1 year ago | 0

Answered
variables with scope local to subsystem
Hi Matthew, I understand that you want to understand the scope of variables you are using for your subsystem which are define...

1 year ago | 0

Answered
Write a custom MATLAB script that performs spatial filtering with a kernel of size 𝑁 × 𝑁 without using imfilter.
Hi Priyansh, I understand that you want to write MATLAB script that can perform spatial filtering on images with NxN filters a...

1 year ago | 0

Answered
How I write a code calculating a matrix determinant recursively without using build-in operation?
Hi Omer, I understand that you want to write a recursive function that calculates the determinant without using the inbuilt MA...

1 year ago | 0

Answered
Error: Left and right key variables are not comparable because one is a non-cell
Hi lil brain, I understand from your issue that you are unable to join two tables, that have a common column named “ID”, and yo...

1 year ago | 0

Answered
Cannot open slx files for Field Oriented Control of PMSM with Input Power Factor Correction example
Hi Alejandro, I understand from your issue that you are unable to access the two files mentioned in the examples. The poss...

1 year ago | 0

Answered
I am trying to graph the direction field of dy/dx=-x/y and the solution curve that satisfies the initial conditions y(0)=4. The solution curve doesn't go left of the y-axis.
Hi Jared, In the above code, there were issues with the use of the “ode45” function. This function is used for solving initial ...

1 year ago | 0

Answered
I'm trying to write a MATLAB code to solve the first order 1-D wave equation (transport equation) using the Euler method
Hi Ayushman, It seems like you have already written some MATLAB code to solve the 1-D wave equation using the Euler method. Ho...

1 year ago | 0

Answered
How to program node 3. It is a 3element (spring assembly) 4 element
Hi Karlo, It seems like you are trying to assemble the global stiffness matrix K for a 3-element spring assembly system and so...

1 year ago | 0

Answered
Error : Dot indexing is not supported for variables of this type.
Hi Dhaval, I noticed that you haven't provided a sample file or specified the type of file you are trying to read. Based on thi...

1 year ago | 0

Answered
how can i use utm2degfunchtion
Hi Sangesh,  To convert UTM coordinates back to degrees, you can add the “utm2deg” function to your code. Here's how you can m...

1 year ago | 0

Answered
Simulink Onramp 13.1 Task 5
Dear Yasemin, I noticed that the issue you're encountering isn't related to setting up the initial variable. You've correctly ...

1 year ago | 0

Answered
COnvert .txt file to NetCDF
Hi Chiara, To convert a text file to a NetCDF file, you need to properly define the dimensions and variables in the NetCDF file...

1 year ago | 0

Answered
Removing Columns and Rows of a Matrix When Future Deletions Reference the Original Matrix
Hi Marissa, The issue you are experiencing is a common one when deleting elements from a matrix in a loop. The size of the matr...

1 year ago | 0

Answered
I can't find the the right code to draw a plot along the constraint
Hi Tommaso, The issue you're encountering is because you're trying to plot the function along the line "y = 5 - t", which doesn...

1 year ago | 0

Answered
Trying to find empirical cdf
Hi Kylenino, So the problem here is with your computation which I think is wrong probably due to the formula. If you have the ...

1 year ago | 0

Answered
Why in the Test Assessment I can't use the '==' operator to compare expressions of type real_T within the 'verify' operator?
Hi Domenico, The warning you encountered is not related to the type of variable you are using, “real_T”, but rather it is rela...

1 year ago | 0

Answered
Disable Import window pop-up when "Command + V"
Hi Kent, To stop the import data wizard window from automatically popping up when you paste code in the Editor window, you can ...

1 year ago | 0