Answered
Can I use student's license for my Master's degree thesis, which is related to a project being developed in the company I work for?
Only if the company is not given the results any more than a copy of the thesis (that would have to be made publicly available),...

2 years ago | 0

Answered
How could I calculate the correct Laplace Inverse using ilaplace()?
https://www.mathworks.com/matlabcentral/answers/1437209-how-to-simplify-function-handles#comment_1698679 has code that can conv...

2 years ago | 0

Answered
Matrix Size Mismatch for Heat Conduction - 1x1 vs 50x100x101
T and rho are both 3D matrices. T(i,j,step+1) = (dt*k*(r(i) - 1/2))/(rho*Cpg*dr^2*r(i))*T(i-1,j,step) + (dt*k*(r(i...

2 years ago | 0

Answered
matlabpath - order not respected?
Matlab should use the first function on the path with the matching name, shouldn't it? No. https://www.mathworks.com/help/matla...

2 years ago | 0

| accepted

Answered
Run selection disabled and appears option of debugging (continue, step in, step out, stop) on the toolbar. Now I can't run any code
In my experience, you have to save the mlx file before you can run it. This is unlike .m files -- those offer the possibility to...

2 years ago | 0

Answered
Difference between the griddata and the source data when creating contour
griddata() is based upon first triangulating the input points (unless 'v4' method is specified). triangulation of sparse 3D surf...

2 years ago | 1

| accepted

Answered
Why won't my code run even though it has no errors
plot(1:n, T, 'o-'); Inside your loop you use n to index the location you are writing to inside the T matrix, and then you incre...

2 years ago | 0

Answered
Email account that will work with sendmail
Did you try the suggestion in https://www.mathworks.com/matlabcentral/answers/1672544-using-gmail-after-may-30-2022#answer_91957...

2 years ago | 0

| accepted

Answered
Script that returns the square of a prompted number
See fprintf

2 years ago | 0

| accepted

Answered
Lack of function_handle arrays
Suppose you have f = @(x)x+1 then what is f(1) ? If hypothetically matlab supported function handle arrays th...

2 years ago | 2

Answered
im trying to run matlab video processing code and getting this error "Index in position 1 exceeds array bounds (must not exceed 1).
text = sprintf('x: %d, y: %d', x2, y2); After that line text is now a variable rather than a function.

2 years ago | 0

Answered
extract column from 3D meshgrid and griddata matrices
See squeeze But more likely you would just use plot(Z(:), u_int(:)) for this very odd case where your x and y are scalars.

2 years ago | 0

| accepted

Answered
what is fnn (not FNN)
The code for function fnn starts from line 228 of the file you indicated. The code appears to work when I test in R2023b -- pro...

2 years ago | 0

Answered
i need to plot equation w(t) = symsum(dirac(t-k*Ts),k,-Inf,Inf) in discrete time signal.
Dirac delta is a distribution rather than a function. It can be treated as a distribution in an integration, in which case the ...

2 years ago | 0

Answered
Why isn't the 5G toolbox available for students/home users?
The reason why the 5G Toolbox cannot be purchased for the Student license is likely that at present Mathworks believes that ther...

2 years ago | 0

Answered
Why is Symbolic Math Toolbox Giving Decimal Answers?
sympref('FloatingPointOutput', 0)

2 years ago | 0

Answered
Alternatives for functions not supported for code generation
The following are supported for code generation in R2023b: fullfile https://www.mathworks.com/help/matlab/ref/fullfile.html#ref...

2 years ago | 1

| accepted

Discussion


Tricking AI vision systems
A research team found a way to trick a number of AI systems by injecting carefully placed nonsense -- for example being able abl...

2 years ago | 5

Discussion


"Cody" bridge rotates up to move out of the way
This video discusses the "Cody" bridge, which is a pedestrian bridge over a canal that has been designed to move up and out of t...

2 years ago | 7

Discussion


touch microscope developed
Recently developed: a "microscope" based on touch and stereo vision. Using touch removes the possibility of optical confusion -...

2 years ago | 5

Answered
Error: Warning: Matrix is close to singular or badly scaled. Results may be inaccurate.
% Differentiation Matrices for Gauss & GaussLobatto Dgl = dVGL/VGL; In MATLAB the / operator is mrdivide, / and is approximat...

2 years ago | 0

Answered
How do you put tilde (~) over a greek letter beta (β) in a chart title?
title('$Scattering Phase Function, \tilde {\beta }$', 'interpreter', 'latex')

3 years ago | 1

Answered
Why am I getting NaN value when I import data?
Use https://www.mathworks.com/matlabcentral/fileexchange/19913-lvm-file-import

3 years ago | 1

Answered
Save the response images as their own file
exportgraphics() or saveas()

3 years ago | 0

Answered
Error using ^ for control systems related functions
you have supplied your own poly.m which is interfering with using the matlab poly() function

3 years ago | 2

| accepted

Answered
Does parfor inside lsqnonlin with UseParallel=True work properly?
With that option the function will be invoked with different parameters in order to estimate the gradient. I would expect that f...

3 years ago | 0

| accepted

Answered
How to declare global variable in Simulink?
I have no information about autosar but see https://www.mathworks.com/matlabcentral/answers/606496-declare-global-variable-in-si...

3 years ago | 0

Answered
Use of function save is not supported on a thread-based worker
parpool("threads") and backgroundPool did not exist in R2019a, so you could not have been using them back then. If your code ha...

3 years ago | 0

| accepted

Answered
can not open Figure Window
Use which -all figure Ideally you will see only one item, a built-in, but on your system you will see a figure.m or figure.mlx...

3 years ago | 2

Load more