回答済み
Plotting data against a combination array
alpha = 0; L = 0.002; W = 0.002; x = 0; y = 0; h = 0.001; thetaX_loop = -60:1:60; thetaY_loop = -60:1:60; [thetaX, ...

9ヶ月 前 | 1

| 採用済み

回答済み
Import matrix with y variables into ode45
Use matlabFunction to create functions that accept numeric inputs and return numeric outputs. You would probably want to do thi...

9ヶ月 前 | 0

| 採用済み

回答済み
sound normalization made distortion bigger
yInt = new_y * 32768; You need to convert to int16 after you zap the 32768. You could consider using im2int16 instead of your ...

9ヶ月 前 | 0

| 採用済み

回答済み
issue with Installing Offline Documentation
If you have a network connection then Preferences --> Help -> Installed locally will offer to install the documentation for you....

9ヶ月 前 | 0

回答済み
The image calculation found that they are all black or all white.
img = (-0.18 / (-0.28 / (45.39 /double(img1) - 1))+1) * 5.3; When you do calculations with integer datatypes, the results of th...

9ヶ月 前 | 0

| 採用済み

回答済み
cftool custom equation "worse than just fitting the mean" error
Well, you can do a fitting to get a line with an intercept of 0, but that doesn't mean that you are going to get a good fit. I...

9ヶ月 前 | 0

回答済み
Importing data from excel and plotting
readcell() Parse row 3 column 1 to figure out the first date -- which is in a completely different format than all of the other...

9ヶ月 前 | 0

回答済み
Adding units on my axis
x = 0:10:100; y = rand(size(x)); plot(x, y) xtickformat('%.1f%%')

9ヶ月 前 | 0

回答済み
randi generate a normally distributed integer matrix
The following illustrates that it is possible to create an array of integers whos population statistics approximate normal distr...

9ヶ月 前 | 0

回答済み
MATLAB Local Cluster Configuration
In order to do that you would need to have the MATLAB Parallel Server product; https://www.mathworks.com/products/matlab-paralle...

9ヶ月 前 | 0

回答済み
How to relabel the structures fields in a sequence?
newfields = "bin_" + (1:length(fieldnames(A))); A = cell2struct(struct2cell(A), newfields);

9ヶ月 前 | 0

| 採用済み

回答済み
Problem-based optimization: Initial guess for only one variable
there are only 3^3 different possibilities. Run them each in turn hardcoding one particular a, b, c possibility. Take the best o...

9ヶ月 前 | 1

回答済み
script no longer works after update to 2023b (related to ode45)
function df = Blas_Sc(eta,f,Sc) global Sc; It is an error to have a parameter with the same name as a global variable

9ヶ月 前 | 0

回答済み
R2023b Unrecognized function or variable 'gaoptimset'.
Global Optimization Toolbox is needed

9ヶ月 前 | 2

回答済み
How do you do regular expressions at the character level?
"+" on character vectors is not a pattern operation. seg_1 = '[TZ]' seg_2 = '[ET]' seg = seg_1 + seg_2 char(seg) p_1 = char...

9ヶ月 前 | 1

| 採用済み

回答済み
datacursormode isn't working on a specific UIAxes for Matlab R2023a
At the time you make the call dcm1 = datacursormode(app.UIAxes1, 'on'); app.UIAxes1 is not a valid Axes object that is parente...

9ヶ月 前 | 0

回答済み
AVX Programming, how to do within C mex file
If you are using Visual Studio then see https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/

9ヶ月 前 | 0

| 採用済み

回答済み
why do I get "Licensing error: -8,523" although activation was successful?
If you are getting license manager error -8 on a system that you have run activation on, then one of the following is the case: ...

9ヶ月 前 | 0

回答済み
Matlab crashes with large matrix
Well, that is certainly possible... if you make the arrays large enough then there might just not be enough memory available. I...

9ヶ月 前 | 1

| 採用済み

回答済み
Related to finding columns of a matrix satisfying specific conditions
nz = YourMatrix ~= 0; pattern = [false; false; true; false; true; false; false; false]; matching_column_mask = all(nz == patte...

9ヶ月 前 | 0

| 採用済み

回答済み
surf 2 solid question
sidelength = input('Enter Side length: '); height = input('Enter Height: '); V=nsidedpoly(12,'Side',sidelength).Vertices; V(e...

9ヶ月 前 | 0

| 採用済み

回答済み
Using a Network Named User license on machine not connected to Domain
The official solution would involve installing a second license server inside the safe zone. If, though, you only need this tes...

9ヶ月 前 | 0

| 採用済み

回答済み
Error message: Index exceeds the number of array elements. Index must not exceed 1. When I use trim function
According to trim y0 must be immediately after u0

9ヶ月 前 | 0

回答済み
How can I get MATLAB to preserve column names as variables when importing a csv file to timetable?
Works for me, provided that the number of header variables does not exceed the number of detected columns. When I accidentally...

9ヶ月 前 | 0

回答済み
In an existing dropdown ('A', 'B', 'C'..) in GUI, how can I add popup for certain selection to decide it's property by assigning say 35% of A+65% of E
That is not going to happen automatically -- what you are asking for is too complex to be a built-in activity. You will need to...

9ヶ月 前 | 1

回答済み
How to convert 2d implicit plot to 3d plot?
syms x y c f(x,y,c) = (x.^2 + y.^2) .* (sin(atan(y./x))).^2 .* (0.5 - (5./((sqrt(x.^2 + y.^2)).^3))) + c ; fimplicit3(f, [-10 ...

9ヶ月 前 | 0

回答済み
call function with fewer parameters
In MATLAB, it is not directly an error to call a function with fewer parameters than it is defined with. Instead, at the time t...

9ヶ月 前 | 1

回答済み
Color zooming or halftoning
Decided on a per-layer transparency, something like transparency = 0.8; Create each halftone in an array. image() the lowest...

9ヶ月 前 | 0

| 採用済み

回答済み
dbstop if error not working
if you are within a try/catch then use dbstop if caught error

9ヶ月 前 | 0

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

9ヶ月 前 | 0

さらに読み込む