回答済み
How to use strcat in imwrite to save multiple figures
See exportgraphics()

9ヶ月 前 | 0

回答済み
Arrays have incompatible sizes for this operation for multiplying Parameters, what code would be proper to type in?
AA.Constraints.one = permute(AIT, [3 1 2]) .* LILT == ff;

9ヶ月 前 | 0

回答済み
Use patch() with boxplot
fill(rand(1,5)*3, rand(1,5)*sqrt(2), 'g'); hold on boxplot(rand(5,3)) hold off

9ヶ月 前 | 1

回答済み
ncwrite error dimension does not have an associated length specified
ny = 409; nz = 3; nx = 313; climate=rand(nx,ny,nz); lonn=rand(nx,1); latt=rand(ny,1); time=rand(nz,1); fileout='climate...

9ヶ月 前 | 0

| 採用済み

回答済み
Error using barrier. Objective function is undefined at initial point. Fmincon cannot continue.
Your first returns in the xlsx file is empty. empty is read in as NaN. The returns column gets passed into the objective functi...

9ヶ月 前 | 0

| 採用済み

回答済み
How do I achieve object detection using yolov4 using a webcam (Realtime object detection)
See for example https://www.mathworks.com/help/driving/ref/yolov4objectdetectormonocamera.html which shows a loop of reading cam...

9ヶ月 前 | 0

回答済み
how to calculate the energy consumption of cluster head for every round ?
So, given any one cluster head, if there are N other nodes in the same cluster (total N+1 nodes in the cluster), and there are C...

9ヶ月 前 | 0

| 採用済み

回答済み
Can anyone verify that my solution to the question below is correct?
You have aliasing. You have a signal [0 10e-6] sampled 1000 points, so each is about 10e-9 apart. Your y sine wave is frequenc...

9ヶ月 前 | 1

| 採用済み

回答済み
Use MEX functions to call external APIs
Yes see https://www.mathworks.com/help/simulink/implement_algorithms_c-code.html

9ヶ月 前 | 0

| 採用済み

回答済み
Empty Sym: 0-by-1 for Solve
kappa = sqrt((n_s^2*w^2/c^2)-beta^2); gamma = sqrt(beta^2-(n_s^2*w^2/c^2)); the expressions within the sqrt() are the negative...

9ヶ月 前 | 1

回答済み
Hangs upon trying to download installer
People in China have reported problems downloading MATLAB, especially if they are using a VPN. Sometimes they just need to tem...

9ヶ月 前 | 0

回答済み
I I'm new to matlab and Ikeep getting "Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in "THRUST CURVE FUNCTION LINE 3"
You should not be using integral for that kind of situation. You have a table of numeric values, and you are trying to integrat...

9ヶ月 前 | 0

回答済み
Ploting same y axis with two colors
See https://www.mathworks.com/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot or https://www.mathworks.com/matlabc...

9ヶ月 前 | 0

回答済み
How to write delta in matlab?
Like what is the syntax for delta in matlab? MATLAB does not have the delta operator. The suggested dirac() does not work for t...

9ヶ月 前 | 0

回答済み
How can i change the result in the annualpayment in the table to a number with 4 decimal, and not in exponentioal form
%Annual Payment for Loans p = 55000; %in dollars r = 0.066; %interest rate n = 1:5; %year %Formula to be Use A = (p * ((r*(...

9ヶ月 前 | 0

| 採用済み

回答済み
Hello everyone, do you have the MATLAB source code for cell free massive MIMO linear precoding?
I do not have code for that, but the authors of the paper described at https://assets.researchsquare.com/files/rs-884208/v1_cove...

9ヶ月 前 | 0

| 採用済み

回答済み
strong.mat file not found in MATLAB installation
You need to run openExample('signal/SpeechSignalCompressionExample') If you do not have the documentation (with examples) inst...

9ヶ月 前 | 1

回答済み
Is there a Hyperspectral Imaging Library toolbox for 2023a
Yes, it existed in R2023a https://www.mathworks.com/help/releases/R2023a/images/hyperspectral-image-processing.html It was int...

9ヶ月 前 | 0

| 採用済み

回答済み
fprintf formatting problem with cell and array matrix 2
If you want the transpose in the sense of having a row labeld Mix Ratio, and a row labeld '*H' and so on, then you have no hope ...

9ヶ月 前 | 1

回答済み
Processing data received via a COM port
First create the serialport object. Then configureTerminator . Then configureCallback with "mode" "terminator" . The configured ...

9ヶ月 前 | 1

| 採用済み

回答済み
When is it better to use a multi-level-struct than a table?
We are discussing in https://www.mathworks.com/matlabcentral/answers/556024-what-frustrates-you-about-matlab-2#answer_1337061 wh...

9ヶ月 前 | 1

| 採用済み

回答済み
Show matrix is not invertible.
When you calculate the terms of the determinant, every component is 0. syms a b c d e f g h A = [a 0 0 b 0; 0 c 0 0 d; 0 0 e f...

9ヶ月 前 | 0

回答済み
Error using Screen- DrawDots
TargetLocGrid=[cx+(ecc_vars(emat(tr,3))*signSelect(round(rand)+1)), cy]; Notice that uses [A,B] . Unless something in...

9ヶ月 前 | 0

回答済み
waveletTimeFrequencyAnalyzer error
Do you have eeglab installed? It has a gather() function that interferes. https://www.mathworks.com/matlabcentral/answers/19957...

9ヶ月 前 | 0

| 採用済み

回答済み
Align xticklabels along horizontal line
In theory... labels = {'123', '1234', '12345678'}; ax = gca; bar(ax, [3 5 7]) xticks(ax, 1:3) xlim(ax, [0 4]) xticklabel...

9ヶ月 前 | 1

回答済み
Create a 'fake' video from an image and previously calculated optical flow vectors
time_between_frames = 1/frameRate; displacementX = Vx * time_between_frames; displacementY = Vy * time_between_...

9ヶ月 前 | 0

| 採用済み

回答済み
Variable x changes size with every loop iteration, and obtain equally spaced values. Error in lines 13 and 15
As per request, x now changes in size every iteration, with equally spaced values. In practice you would not write the code thi...

9ヶ月 前 | 0

回答済み
A compact way to replace zeros with Inf in a matrix
A = [0 3 2 5 6; 1 1 4 3 2; 9 0 8 1 1; 5 9 8 2 0; 3 1 7 6 9]; A(~A) = inf

9ヶ月 前 | 3

回答済み
Why are my EPS figures not vectorised in LaTeX?
print never tries to produced vectorized results. Use exportgraphics with ContentType='vector' and a filename that ends in .eps...

9ヶ月 前 | 0

回答済み
How can this function as an excel add-in ?
modelo_leaching(100,20,1) function a=modelo_leaching(length,tiempo,conc) x = 0:1:length; %length t = 0:1:tiempo;%tiempo m =...

9ヶ月 前 | 0

| 採用済み

さらに読み込む