回答済み
Why does my code return 'Empty sym: 0-by-1'?
You have misframed k = k0 * exp(-Q/(R*T)) . Written as an equation equalling 0, it would be eqn = k - k0 * exp(-Q/(R*T)) == 0 ...

11ヶ月 前 | 1

| 採用済み

回答済み
How to store this type of data with unknown number of them?
Let us experiment N = 100; A = randi(9,N,1); B = randi(9,N,1); C = randi(9,N,1); D = cell(N,1); for K = 1 : N D{K} = ...

11ヶ月 前 | 0

| 採用済み

回答済み
Transform variables with underscore symbol into subscripts when exporting to Latex from a Live Script
The key to this is that the left-hand side of an assignment is never formatted. syms t A B f_0 f_1 n positive eqn = f_1 == f_0...

12ヶ月 前 | 0

回答済み
datetime error in 2025a version
'convertfrom' 'datestr' is not a supported option https://www.mathworks.com/help/matlab/ref/datetime.html#d126e368859 If you ...

12ヶ月 前 | 0

回答済み
use "set" with trasparent color
Line objects have never supported MarkerFaceAlpha or MarkerEdgeAlpha MarkerFaceAlpha and MarkerEdgeAlpha are used for Scatter p...

12ヶ月 前 | 1

回答済み
Does sendmail work with TLS v 1.2 ?
https://www.mathworks.com/help/matlab/ref/sendmail.html Note sendmail does not support major email providers such as Gmail an...

12ヶ月 前 | 0

回答済み
Codegen supported function to delete a file and to check its existence
I believe it would go as follows: C: Use coder.cinclude('<stdio.h>'); coder.ceval('remove', FILENAME); C++: Use coder.ci...

12ヶ月 前 | 0

| 採用済み

回答済み
can display .mat files into gui matlab?
Generally speaking, you cannot display .mat files in a GUI. .mat files generally contain collections of variables, but you can g...

12ヶ月 前 | 0

回答済み
Excel to Simulink real time data streaming
In the form you have phrased the question, it must be assumed that a random location inside the data might be updated (as oppose...

12ヶ月 前 | 0

| 採用済み

回答済み
Plotting color data from cell array using plot()
plot(xdata{:}, ydata{:}) is equivalent of plot(xdata{1}, xdata{2}, ydata{1}, ydata{2}) which is going to treat the data as pa...

12ヶ月 前 | 0

| 採用済み

回答済み
How do I find second order implicit differentiation (d2y/dx2) of a function in MATLAB
syms x y DY DF y(x) F=x^2+y^2==1; dy=diff(y); dx=diff(F,x); DF=subs(dx,dy,DY); dydx1=solve(DF,DY); dydx=simplify(dydx1) t...

12ヶ月 前 | 1

| 採用済み

回答済み
how to save the debugging state at matlab?
Generally speaking, it is not possible to save the full debugging state. Generally speaking, the current state of variables mig...

12ヶ月 前 | 0

回答済み
I want to remove noise from my audio signal by simplest method?
Suppose you have an input signal that starts with 0.1 and 0.2. Suppose you add noise to the third sample onwards, and after addi...

12ヶ月 前 | 0

回答済み
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...

12ヶ月 前 | 0

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

12ヶ月 前 | 1

| 採用済み

回答済み
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...

12ヶ月 前 | 0

| 採用済み

質問


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ヶ月 前 | 0 件の回答 | 6

0

回答

回答済み
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')

約1年 前 | 0

回答済み
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...

約1年 前 | 1

回答済み
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...

約1年 前 | 0

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

約1年 前 | 0

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

約1年 前 | 0

| 採用済み

回答済み
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...

約1年 前 | 0

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

約1年 前 | 0

回答済み
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...

約1年 前 | 0

| 採用済み

回答済み
fixed color scale with volshow
After you getframe(fig) use rescale() specifying "InputMin" and "InputMax"

約1年 前 | 0

回答済み
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...

約1年 前 | 0

回答済み
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 @...

約1年 前 | 0

回答済み
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 ...

約1年 前 | 0

| 採用済み

回答済み
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...

約1年 前 | 1

| 採用済み

さらに読み込む