回答済み
Define function with nonlinear equation system vercat error
You have a multi objective search, trying to simultaneously minimize four different objectives. fmincon is only able to minimize...

3日 前 | 0

回答済み
How can I set two different color for each lsline in the scatter plot?
lsline creates a least squared line for each scatter plot in the axes. At the time you call lsline the first time you have pl...

3日 前 | 0

| 採用済み

回答済み
Distance between points in a graph
pdist() can be configured with a number of different distance metrics. However, I have to wonder if you are assuming that the 5...

4日 前 | 0

回答済み
Perhaps a bug in matlab?
It is correct that it should not be giving you the solution. Your equations do not account for the possibility that you might be...

4日 前 | 0

回答済み
How can I deploy some GUI (from app designer) into a raspberry pi 4?
No, Application Compiler uses MATLAB Compiler, which can only target (Intel) Linux, (Intel) WIndows, or (Intel) MacOS (ARM MacOS...

4日 前 | 0

回答済み
Hello, I have purchased the MatLab_R2021b license (4XXXXXXX, Standard, Perpetual). Does this license include the toolboxes? If it does, how can I download and install them?
If you use Add-On Explorer while you are using that account, then you can navigate to the toolbox you are interested in. If you ...

4日 前 | 0

回答済み
exportgraphics streches images whily saving if 'visible' is 'off' - bug?
Figure layout including axes layout (including xlim and ylim) is not performed until the figure visibility is turned on.

4日 前 | 0

回答済み
Error using reshape when creating a new cell array in a loop
for j = 1:numel(participants) N = block_size*ceil(numel(participants{j},1)/block_size); participants{j,1}(end+1:N,:) =...

4日 前 | 1

回答済み
how to make my text in matlab coloured ?
See the File Exchange contribution named cprintf https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-for...

4日 前 | 0

回答済み
Hello every one, How can I generate randomly only one number between two values (e.g.: 0.01-1)each time?
Remove the fix() call. fix() asks to take the integer portion of the value (rounding towards 0)

4日 前 | 0

| 採用済み

回答済み
I have written a code for pressure calculation in bearing. i have found this error. Index in position 1 exceeds array bounds (must not exceed 142). Error in (line 680)
T = (NX+1)*(NY+1); % calling is done as Q(X=1 or Y=2, Node number) for I=1:T x=Q(1,I); y...

4日 前 | 0

回答済み
How to get interval of X for a certain value of Y in a plot or array.
idx = find(y >= 0.3); xmin = x(idx(1)); xmax = x(idx(end));

5日 前 | 0

| 採用済み

回答済み
How do I convert tall array duration time vector to HH:mm:ss for merging with tall array datetime vector ?
perhaps [h,m,s] = hms(DURATION_COLUMN); DATETIME_COLUMN = TIME_COLUMN + duration(h,m,floor(s)) or perhaps DATETIME_COLUMN = ...

5日 前 | 0

回答済み
Can students change scripts in Live Editor without having Matlab installed.
No, they *would* need MATLAB installed for what you describe. However perhaps you can use "MATLAB Online", see http://matlab....

6日 前 | 0

回答済み
FMINCON requires the following inputs to be of data type double: 'X0'.
fun = @(x)FCVEC06January2022V2; That says that fun is to become an anonymous function that accepts zero or one input arguments,...

6日 前 | 0

回答済み
binary matrix to decimal number
A = [1 0 1 1 0 0 1 0 ] bin2dec(char(A+'0'))

6日 前 | 1

| 採用済み

回答済み
MATLAB function gives me error
Those solid markings appear to me to indicate that you are using a Simulink Bus Creator https://www.mathworks.com/help/simulink/...

6日 前 | 1

回答済み
Converting symbols in columns to different numeric values
syms GB KC TB TEN picks1 = [GB TB TEN KC]; orders1 = perms(picks1); GBv = [45; 29; 18; 7]; TBv = [127; 60; 34; 11]; TENv =...

6日 前 | 1

回答済み
Is it possible to reconstruct an image from the number of pixel counts and bins information?
I = imread('pout.tif'); imshow(I) I1 = reshape(sort(I), size(I)); imshow(I1) [c,b] = imhist(I); [c1,b1] = imhist(I1); all(...

6日 前 | 0

| 採用済み

回答済み
I need to read an array to see if it has repeated elements (using for loop)
cont =0; for i=1:length(Vec)-1 for j = i+1:length(Vec) if Vec(i) == Vec(j) ...

6日 前 | 0

回答済み
How does this function work? - echo, assert ...
The function does none of the actual work needed. Instead it overrides the functions that are used to check that the solution wo...

7日 前 | 2

| 採用済み

回答済み
Run Simulink Simulation from using Matlab Engine API for C
https://www.mathworks.com/help/matlab/calling-matlab-engine-from-c-programs-1.html There is no specific interface for Simulink...

7日 前 | 0

| 採用済み

回答済み
Losing pixels with imrotate
No there is no way. In every case where you rotate by something that is not a multiple of 90 degrees, pixels will change. Con...

7日 前 | 1

回答済み
How can I define a symbolic function with vector arguments?
You cannot do that in MATLAB. You can use matlabFunction with the 'vars' option to generate a function handle that indexes in...

7日 前 | 0

回答済み
Simplifying results from rat function
[N,D] = rat(0.642857142857143)

7日 前 | 1

| 採用済み

回答済み
How to shifting or move the time axis to the left in a MATLAB plot.
Pass the coordinates of the independent axes to plot() before the dependent coordinates -- plot(x,y)

7日 前 | 0

回答済み
Unable to find explicit solution
If you look carefully at the graph, you can see a couple of discontinuities at negative t values. At first I thought it was a ...

7日 前 | 0

回答済み
Hi, I wanted to implement MATLAB code "the scrambled pixel value is further converted to binary information sequence of size 8 bits ".
https://www.mathworks.com/matlabcentral/answers/527513-converting-image-to-bits-and-vice-versa#comment_1942575

7日 前 | 0

回答済み
pathdef.m dont execute in 2020a
User turns out to have F:\feature.m that is interfering with use of system_dependent()

7日 前 | 1

| 採用済み

回答済み
How to put conditions to use data from command window
Assuming that CD is a scalar, and that AB and BC are column vectors and that Speed is a row vector: statuses = ["unsuccessful",...

7日 前 | 1

もっと読み込む