답변 있음
How to create variable length buffer in Simulink for holding the value with unknown dimensions ?
You are going to have trouble with that approach unless you use dynamic memory allocation. Better is to set a maximum length be...

대략 2년 전 | 0

답변 있음
How to write the sum of several matrices in Matlab ?
syms c N num_i = 3; %adjust as needed num_j = 4; %adjust as needed num_n = 10; syms x [num_i 1] syms y [1 num_j...

대략 2년 전 | 0

답변 있음
what am i doing wrong?
size(a(:,i)) is a vector of length 2. You should use size(a,1)

대략 2년 전 | 0

답변 있음
Error Using horzcat in MATLAB
parityMatrix = [1 1 1 0 1 0 0; 1 1 0 1 0 1 0; 1 0 1 1 0 0 1]; parityMatrix is 3 x 7 generatorMatrix = [eye(4) parityMatrix']; ...

대략 2년 전 | 0

| 수락됨

답변 있음
Why do I get an error using estimate for an msVAR model?
By default, Y0 is the initial portion of Y (which is your Data). If your Y (Data) is sufficiently small, then Y0 might potenti...

대략 2년 전 | 0

답변 있음
Error trying to start Simulink from m-file.
It sounds as if the block diagram 'Gelenkmodell' is configured with an InitFcn that invokes Reibkennlinie_festlegen but that Re...

대략 2년 전 | 0

답변 있음
Please assist to resolve "magaa and mag2a" codes problems; probably FUN and fsolve, not properly sets. The mag2 has to generate 12 (Qy-variable) questions by for-end. Thanks
function [Qy, FUN] = MAGa(Qy0) tic, n=12; pipes=n; dia=n; LP=4; cCc=7; HLD=-0; ee=0.04; vs=1.00001*10^-6; ...

대략 2년 전 | 0

| 수락됨

답변 있음
I keep getting a “cannot convert double value “…” to a handle. Does anybody know how I can fix my code in order for this to go away
Historically, up to R2014a, it was the case that graphics handles were returned as double precision numbers. This allowed constr...

대략 2년 전 | 0

답변 있음
How to use integral when limits are anonymous functions
Your problem is unsolvable (in the form stated) You cannot use integral() with symbolic limits: integral() is strictly a numeri...

대략 2년 전 | 0

| 수락됨

답변 있음
Are Windows machine for desktop real time and speedgoat using simulink real time uses same kind of processors aechitecture?
Speedgoat runs on Intel x64 class of processors, it appears to me. For different systems, I see reference to Atom processors or ...

대략 2년 전 | 0

답변 있음
How to save a figure as a geotiff
geotiffwrite from the Mapping Toolbox But I don't know what it means to save an "entire" surface, as distinct from the points t...

대략 2년 전 | 0

답변 있음
Why are some of my functions 'Undefined' in my standalone executable compiled from MATLAB source and pcode files?
In https://www.mathworks.com/matlabcentral/answers/1579108-how-do-i-use-and-s-flag-for-compiling-a-matlab-app#comment_2779289 ...

대략 2년 전 | 0

답변 있음
Loading hex values from a file vs executing .m file that contains same values
It's a bug. It is processing all d and D as if they were e

대략 2년 전 | 0

| 수락됨

답변 있음
How do I set a read-only class to a specific value
No, there is not. And if there was a way, setting the NumBytesAvailable would confuse the system because it would either lose tr...

대략 2년 전 | 1

| 수락됨

답변 있음
Why I am not able to open openExample('simscapefluids/ElectricVehicleThermalManagementExample') ?
If you are using an older version of MATLAB, you might need to use sscfluids_ev_thermal_management The example was renamed in ...

대략 2년 전 | 0

답변 있음
HDL Coder Error: HDL code generation does not support variable-size matrix type.
temp_slice(1:16-b+1) = temp(b:16,b); % You do not declare temp_slice before use, so you are growing it within a loop, which...

대략 2년 전 | 0

답변 있음
running matlab exe file results in "Too many input arguments. MATLAB:TooManyInputs error"
You need function main_file(varargin) When you compile an executable, command line arguments are passed as parameters to the m...

대략 2년 전 | 1

| 수락됨

답변 있음
Excel headers with symbols
You have to either code the symbols as character constants or else code the unicode to create the symbols. C = [Tag + "_" + L...

대략 2년 전 | 0

| 수락됨

답변 있음
How do I use my data set in an equation?
lb = mean(lm,1); formula = log(lb./lm);

대략 2년 전 | 0

답변 있음
Received this error, not sure how to fix
M=1:2:11; N=1:2:11; those are length 6 for i=1:length(M) for j=1:length(N) for mi=1:i for ni=1+j ...

대략 2년 전 | 0

답변 있음
Create contour plot from scatter plot
See https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data

대략 2년 전 | 0

답변 있음
Can function [s,h] = silhouette(X, clust, distance, varargin) be run using parfor (parallel computation)?
Sorry, you cannot accelerate it using parallel computation.

대략 2년 전 | 1

답변 있음
error in concatenating cells
ft_epoch = cell2mat(reshape(ftData728178E.trial, 1, 1, [])); However, if what you are already doing creates NaN then it means...

대략 2년 전 | 0

답변 있음
What does it mean "/Multiple" after variable name in *.mat file?
The .mat file has been created by an external program not using the official Application Programming Interface. The variable nam...

대략 2년 전 | 0

답변 있음
Support for NVIDIA RTX A1000
The RTX A1000 has compute capacity 8.6 according to several sites I check. As such, the Parallel Computing Toolbox should be ab...

대략 2년 전 | 0

| 수락됨

답변 있음
Error in AWGN Using Integers or scalar doubles
lenna = imread('lenna.png'); the result is almost certainly a uint8 matrix. lenna_gray = rgb2gray(lenna); rgb2gray() of a uin...

대략 2년 전 | 0

| 수락됨

답변 있음
how to convert text file as it was written .m file to call functions?
SS = fileread(NAME_OF_FILE); eval(SS)

대략 2년 전 | 0

| 수락됨

답변 있음
Error using lassoglm>glmProcessData
If you are passing in Weights, at least one weight must be positive. Otherwise: you need at least one row of X to contain finit...

대략 2년 전 | 0

답변 있음
not enough input arguments
You are trying to run the function by pressing the green Run button. When you run the function by pressing the green Run button,...

대략 2년 전 | 0

답변 있음
How to run all the image with format jpg in folder? and save into folder?
dinfo = dir('*.jpg'); filenames = fullfile({dinfo.folder}, {dinfo.name}); nfiles = length(filenames); magnificationFactor = 1...

대략 2년 전 | 0

| 수락됨

더 보기