Respondida
Need help debugging given matlab code for school assignment. Recieving weird error need help moving past
b = load('blade.txt'); %Blade specification is modified NREL 5 MW b will generally be a matrix r = b(:,1); %Node radial positi...

11 meses hace | 0

Respondida
Help fixing fopen error in code
filename = fullfile(files(cntfiles).folder, files(cntfiles).name); [fin, msg] = fopen( filename ); if fin < 0 erro...

11 meses hace | 1

| aceptada

Respondida
If I replace old version (R14) running on a 20 y.o laptop with Windows 7 with all new laptop, newest Windows and latest Matlab version, will my old toolboxes still be useable?
R14 was long enough ago that Mathworks would not permit you to pay retroactive Software Maintenance Service to bring your licens...

11 meses hace | 0

| aceptada

Pregunta


MATLAB Answers is currently broken
MATLAB Answers is currently undergoing an unspecified down-time. Mathworks knows about the problems and is working on solving i...

12 meses hace | 0 respuestas | 6

0

respuestas

Respondida
Can you help us debug and fix this code entirely?
You can get nearspeech.mat and farspeech.mat as part of the example openExample('audio/AcousticEchoCancellationAecExample')

12 meses hace | 0

Respondida
Is vectorization worth the trouble with recent MATLAB?
Let us take an example: finding the row indices of the first non-zero row in a 2D matrix. A = full(sprand(10000,500,0.1)); Loo...

12 meses hace | 1

Respondida
Creating a License manager for a MATLAB app
Mathworks does not provide any particular interface to license managers of any sort. It just provides methods to call external f...

12 meses hace | 0

Respondida
Filtering column 2 and keeping column 1
mask = filteredData >= THRESHHOLD; selected_time = rawData(mask,1); selected_filtered_data = filteredData(mask); However, i...

12 meses hace | 0

Respondida
Chase plot changes figure size internally
frame2 = getframe(ax2); writeVideo(vidObj2, frame2); You are fetching graphics data from an axes. It turns out, howeve...

12 meses hace | 0

| aceptada

Respondida
The problem is that when I use vpa(U(x,t), 7) to get the solution with 7-digit decimal precision, MATLAB still outputs a very long and complicated expression. how do I fix it?
Observe: a1 = vpa(sym(pi), 7) a2 = vpa(a1, 10) a3 = vpa(a2, 15) a4 = a3 - pi double(a4) From this we deduce that vpa() co...

12 meses hace | 0

Respondida
How to avoid scientific notation in stackedplot?
h = stackedplot(....); oldstate = warning('off','MATLAB:structOnObject'); hstruct = struct(h); warning(oldstate); arrayfun(@...

12 meses hace | 0

Respondida
Adding a circle in a 3D surface plot, viewed in 2D
If you are using fplot() then you need to ensure that some of your Z values are below 0 in the region you are drawing the circle...

12 meses hace | 0

| aceptada

Respondida
fixed color scale with volshow
After you getframe(fig) use rescale() specifying "InputMin" and "InputMax"

12 meses hace | 0

Respondida
Aquiring images from mobile camera is too slow
Possibly. You might be able to use the IP Camera support Android: https://www.mathworks.com/help/matlab/supportpkg/acquire-imag...

12 meses hace | 0

Respondida
mcap file to mat file
https://www.mathworks.com/matlabcentral/answers/1941419-when-do-i-expect-to-get-support-for-mcap-rosbag-files#answer_1522840 @...

12 meses hace | 0

Respondida
Scripts compiled with mex not accessible from parpool declared as "Threads" instead of "Processes"
https://www.mathworks.com/help/matlab/matlab_prog/run-functions-on-threads.html#mw_1cce412a-b5cb-42a4-b0b3-335654833576 Check ...

12 meses hace | 0

| aceptada

Respondida
Unrecognized function or variable 'scope'. error in matlab script
The model probably has "single simulation output" configured for it; https://www.mathworks.com/help/simulink/slref/simulink.simu...

12 meses hace | 1

| aceptada

Respondida
Initial convergence mixed integer ga optimization - only unfeasible results?
If the member is infeasible, the penalty function is the maximum fitness function among feasible members of the population, plus...

12 meses hace | 0

| aceptada

Respondida
I am trying to incorporate multiple IF statements in my ODE to generate a single output.
The mathematics of ode45 and similar routines is such that the second derivative of the input expressions must be continuous ove...

12 meses hace | 2

Respondida
How to specify intervals of increasing, decreasing of a function in MATLAB
Start at the left end of the interval. Record sign() of dy there, along with the current position. Move right one position. Calc...

12 meses hace | 1

| aceptada

Respondida
How to get mod symbol
title('$||\nabla||$', 'interpreter', 'latex')

12 meses hace | 0

| aceptada

Respondida
I want to make that makes graph move with a direction keyboard.
The easiest way is to have a figure, and attach a KeyPressFcn property to the figure; https://www.mathworks.com/help/matlab/ref...

12 meses hace | 1

Respondida
plot a surface from a three variable table
If not the below code, then use meshgrid instead of ndgrid This code takes a long time to execute !! The internal triangulation...

12 meses hace | 0

Respondida
latex interpreter greek symbols
https://www.mathworks.com/help/matlab/creating_plots/greek-letters-and-special-characters-in-graph-text.html Use \nabla

12 meses hace | 0

| aceptada

Respondida
Trouble using container with cell type for key and structure array for values..
struct values are not permitted. keys = 100:110; values = struct('abc', num2cell(1:11)) containers.Map(keys, values)

12 meses hace | 0

| aceptada

Respondida
How to call .dll without header file
The header files is necessary for identifying function "signatures" -- knowing what datatype each function parameter is. So the...

12 meses hace | 0

| aceptada

Respondida
I cannot find R2023a installer. In the drop-down, there is only R2024b.
That can happen if you do not have a MATLAB license registered against your MATLAB Central account.

12 meses hace | 1

Respondida
Error using mupadengine/feval_internal Arithmetical expression expected.
According to a previous thread, the problem is that one of the expressions generates NaN

12 meses hace | 0

Respondida
Not able to get local and absolute max or min of a function or graph symbolically
[num, den]=numden(dy); dy_den=diff(den); % % Case1: If denominator in y' is a constant if dy_den==0 In general, t...

12 meses hace | 0

Respondida
Failed to convert matlab function to dll
NAN and INFINITY is not constant and they actually identified by compiler as function, which defined in corecrt_math.h In C, th...

alrededor de 1 año hace | 0

Cargar más