답변 있음
VxWorks libmat and libmx source code
You can use https://github.com/tbeu/matio

15일 전 | 2

답변 있음
Scatter plot error: not enough input arguments
f_of_x = table((1 / sigma_sqrt2pi) .* euler.^(-(ESD_mu_squared / sigma_squared_two))) ; scatter(OL_All.EquivDiameter, f_of_x)...

15일 전 | 1

| 수락됨

답변 있음
failing to normalize columns of matrix from 0 to 1
Perhaps you want something like n = A; for ii=[2 4 6 8 10 12 14 16 18 20 22 26] n(:,ii) = (A(:,ii)-min(A(:,ii)))/(max(A(:...

15일 전 | 1

| 수락됨

답변 있음
parfeval evaluation is slow
Note the correction to the number of output arguements parameter in the parfeval() call f = cell(NumOfSlabs, 1); for k=1:NumOf...

16일 전 | 0

| 수락됨

답변 있음
violinplot (R2024b): SceneNode error?
The typical cause of this sort of problem, is if you have a third-party .m file with the same name as a Mathworks function. To ...

16일 전 | 1

| 수락됨

답변 있음
How to get the transfer function of IEEE 9 Bus system?
IEEE 9 bus includes circuit breakers. Systems with circuit breakers do not have transfer functions.

17일 전 | 0

답변 있음
Plotting inequality using symbolic function
syms Y y_caseA = 5; y_caseB = 10; y_caseC = 7; y_caseD = 3; ineq = piecewise((Y > y_caseA) & (Y < y_caseB) & (Y<y_caseC) & ...

17일 전 | 0

답변 있음
forward, backward, center approximations for f(x) = e^x-2x+1
Hint: for K = 1 : numel(y); xdiff(K) = x(K+2) - x(K+1); end for K = 1 : numel(y) yleading(K) = y(K); end for K = ...

17일 전 | 0

답변 있음
i need some help with my code simulating the pacific HVDC intertie, for some reason it won’t open in simulink
powerlib/Elements/Three-Phase Source and similar names do not exist. You need for example sps_lib/Sources/Three-Phase Source an...

17일 전 | 0

답변 있음
how to represent the purple color by a string value
To represent colors by string, you can use a quoted hexadecimal triplet. For example, plot(y, 'Color', '#800080') However, the...

18일 전 | 0

답변 있음
How to open the raw file as attached
That file is in OpenDose DVK format. It is a compressed format. Digging into https://gitlab.com/opendose/opendosedvkdata/-/blob...

19일 전 | 0

답변 있음
How to subtract a scatterplot object from a polyshape object
You can retrieve the XData and YData from the scatter plot, and pass the resulting points to boundary or alphaShape to trace aro...

19일 전 | 0

| 수락됨

답변 있음
Mouse Functions Over Axes on Top of Each Other
Set PickableParts 'none' for the top axes https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.axes-properties.html#b...

19일 전 | 0

답변 있음
Matlab function that tells the full path of from where the function has been called
Use dbstack , possibly with the -completenames option.

20일 전 | 0

답변 있음
Repeat calculation 24 times (Cell arrays)
p=[0.1,0.5,1,2.5,5,10,25,50,75,90,95,97.5,99,99.5,99.9]; Stressperc = zeros(numel(p), 50, 24); for col = 1 : 24 for i=1...

20일 전 | 0

| 수락됨

답변 있음
Has the MEX function (mxGetComplexDoubles) been deprecated in R2024b?
No, mxGetComplexDoubles has not been deprecated in R2024b. The problem is you called it from Fortran and Fortran is calling th...

21일 전 | 0

답변 있음
How to place two .fig files together into one .fig file?
In the general case, you cannot merge two .fig files into one .fig file. .fig files are each a combination of graphics informati...

23일 전 | 0

답변 있음
How to rename a new matrix obtained by adding a row to the previous matrix
A = [1:5; 6:10] B = A; B(3,:) = 11

23일 전 | 0

답변 있음
How to run Matlab script with parameters using "nohup" to run in background, detached from the terminal (Redhat)
Scripts do not accept any input parameters, so you must be using a misleadingly named function. Try matlab -nodisplay -nosplas...

23일 전 | 0

답변 있음
How to display the volume of a masked volume?
Something like vol1 = any(mask, [2 3]); miny = find(vol1, 1, 'first'); maxy = find(vol1, 1, 'last'); vol2 = any(mask, [1 3])...

24일 전 | 0

답변 있음
Passing a function as the input argument of another function
[pfinal,fval,exitflag] = fminunc(@(P)myObjective(intensity,data,P),P0,options);

24일 전 | 0

답변 있음
Integration of fft signal
fft() is inherently a discrete process. Integration is inherently a continuous process. "numerc integration" assumes that the ...

24일 전 | 0

답변 있음
How can I save a color 3D image bigger than 4 GB to a TIF file?
https://www.mathworks.com/matlabcentral/fileexchange/42086-bigtiffwriter supports uint8 RGB images. See also https://blogs.math...

24일 전 | 1

| 수락됨

답변 있음
Nonlinear Curve fitting with integrals
integral() always passes in a vector of locations to calculate at, unless you use the 'ArrayValued', true option. sig = int...

24일 전 | 1

답변 있음
Dynamically name a TextArea
for n = 1 : 81 App.("A" + n + "TextArea").Value = 1 end That said, it is better to create an array of text areas instead ...

25일 전 | 0

| 수락됨

답변 있음
Specify the Location of custom IP cores in HDL Coder
hdlcoder_<NAME>_iplist are configuration functions that you create yourself. If you want the output files to be stored in a diff...

25일 전 | 0

답변 있음
Creating a function that removes full rows of non zero values
The key here is to check mask = any(MATRIX == 0, 2) If there is at least one zero, then not all of the entries in the row are ...

25일 전 | 0

답변 있음
problem with recursive concatenate function
Use a "constant" block https://www.mathworks.com/help/simulink/slref/constant.html to import the pre-recorded signal. Note: you...

26일 전 | 0

답변 있음
How do you get text field in App designer to out strings or numbers from a code that executes when a button is pressed
If app.Output is a uitextarea() then str = evalc("disp('first string'); disp('second string'); disp('third string');"; app.Out...

26일 전 | 0

답변 있음
Matlab limited to 8 cores - Xeon w9-3475X
Yes, you can adjust the number of logical processors that MATLAB can use. Edit the cluster profile named "local" https://www.mat...

26일 전 | 0

더 보기