Risposto
Spray painting simulation and thickness evaluation
Maybe some basic approach is to use a button down callback and scatter dots that are randomly sampled from normal distribution. ...

quasi 3 anni fa | 1

| accettato

Risposto
listing subpackages of a package in a Contents.m file
Hi @A.B. Thank you for the question and providing your own answer. May I inquire about your current workflow? The documentation...

quasi 3 anni fa | 0

Risposto
Execution of script varargin as a function is not supported
You are not supposed to use varargin as function's input argument explicitly as "varargin". varargin in MATLAB is like a magic ...

quasi 3 anni fa | 2

| accettato

Risposto
Unrecognized function or variable 'asbQuadcopterStart'.
The project is not in MATLAB path by default. Open the example for the proejct first. Then, you can open the proejct. Run the co...

quasi 3 anni fa | 5

| accettato

Risposto
Why is dlgradient giving different answers?
You can try to incorporate dlfeval when using dlgradient. You can get the results of 1's as expected. Parameters = struct; sta...

quasi 3 anni fa | 1

| accettato

Risposto
C code compliant with AUTOSAR
You must have received error messages similar to the one below. No, generating AUTOSAR-compliant C code from a subsystem is not ...

quasi 3 anni fa | 1

Risposto
Unable to export library to protected model
I have released the following Q&A. Can you please check the Answers page below and see if it can solve your issue? IP protectio...

quasi 3 anni fa | 1

| accettato

Risposto
simulink Array plot channel bug?
Thank you for the model and explanation. I can reproduce the issue with your model in R2021a. Also, as you mentioned, it is not ...

quasi 3 anni fa | 1

| accettato

Risposto
lookfor could not find polyfit using keyword 'polynomial' and 'fitting'.
Thank you for reporting this issue. I can reproduce the issue in a machine with Japanese locale. (Sorry, I don't have a Korean l...

quasi 3 anni fa | 2

| accettato

Risposto
a2l address replacement not working with .elf and structs
So, the point is your ECU_ADDRESS = 0x0000, but the ELF file does specify an address, right? It sounds like an issue that our Te...

quasi 3 anni fa | 2

| accettato

Risposto
Issues about PIL simulation on NXP board error rtwshared (unable to update referenced file caused by error encountered while building rtwshared)
Which release do you use? To me, the issue sounds similar to one reported in EBR 2685214 which is fixed from R2022a Update 7 or ...

quasi 3 anni fa | 1

| accettato

Risposto
Indexing data on a grid
What about this? VAR = reshape(1:360*180, 360, 180); Ind = rand(360, 180) > 0.5; VAR(~Ind) = NaN

quasi 3 anni fa | 1

| accettato

Risposto
p values equal to 0
A side note: Too many samples can easily lead to very small number of p-value. This may be the reason why all the p-values becam...

quasi 3 anni fa | 1

Risposto
Can't access course modules on OPERA GX
As indicated in the page below, the best recommended bwoser is Google Chrome for MathWorks' cloud solutions including MATLAB Sel...

quasi 3 anni fa | 1

Risposto
Changing the units inside a PS-Simulink Converter block programmatically
You can click one block and run get(gcbh). The result tells you detailed properties of the block. From this you can learn that t...

quasi 3 anni fa | 1

Risposto
Can I know how many times the cylinder rotates?
Check the script below and see that the Cylinder rotates only once during the 86 frames. I intentionally added a red marker to v...

quasi 3 anni fa | 1

| accettato

Risposto
Wanna find specific index(raw) which meet multiple(~3) conditions
1. First off, it's not possible to reproduce your issue only with your description. See the sample code below. rng(1); A = ran...

quasi 3 anni fa | 2

| accettato

Risolto


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

quasi 3 anni fa

Risposto
I would like to get Hardware support package without internet connection
I know it's an old question, but here is my note for future users. Support packages for MATLAB R2016a and previous releases ar...

quasi 3 anni fa | 1

Risposto
GAN 코드에서 output image size 변경방법(Changing the output image size in GAN code)
Transposed Conv Layer가 이미지를 생성할 때에는 Filter의 사이즈, Stride의 크기 등의 하이퍼파라미터에 의해 출력 이미지 사이즈가 결정됩니다. 가령 참고하신 예제에서 filterSize 값을 5에서 4로 ...

quasi 3 anni fa | 1

Risposto
Obtener voltage usando redlab von Meilhaus
Which RedLab device do you have? According to the Answers page below, Meilhaus Redlab seems to be the same as Measurement Comput...

quasi 3 anni fa | 1

| accettato

Risposto
Hysys Column Stage Error
It looks like the error is related to "invoke". Would you invoke simulation cases and see if you can proceed? aspen = actxserve...

quasi 3 anni fa | 1

Risposto
One Class SVM not working
This looks like a bug in ocsvm. Can you please contact Technical Support?

quasi 3 anni fa | 1

Risposto
One Class SVM not working correctly
Thank you for reporting this. I can see that something is broken in ocsvm. Can you please contact Technical Support and report t...

quasi 3 anni fa | 1

| accettato

Risposto
This Matlab code is saying Index in position 1 is invalid. Array indices must be positive integers or logical values.
Let's look at the code in line 63. k1 = odeFunc{i}(t(n), y(n)); where odeFunc, t, y are defined like below. odeFunc = 1×7 ...

quasi 3 anni fa | 1

Risposto
simulink에서 matlab function 블록에서 작업공간에 이미 선언된 변수를 인식하지 못합니다.
Base Workspace와 MATLAB Funciton의 Workspace는 자동으로 공유되지 않습니다. MATLAB Function 블록의 Workspace에 Base Workspace의 변수를 쓰는 방법들이 아래의 답변에 설...

quasi 3 anni fa | 2

| accettato

Risposto
How do I obtain the bode plot of the given transfer function?
Here is a simple example. You can further put your parameters in H. s = tf('s'); H = (s+1)/(s^2+s+1); bodeplot(H) grid on; z...

quasi 3 anni fa | 1

Risposto
what is logsout in simulink and how i can turn it to simout?
Do you happen to see the WiFi-like icons (, logging badge is the official terminology) in the model? Simulink allows saving sign...

quasi 3 anni fa | 1

| accettato

Risposto
How can I use various colors to fill the area under a normal distribution curve?
f = @(x, mu, sd) 1/(sd*sqrt(2*pi)) * exp(-1/2*((x-mu)/sd).^2); x = linspace(1.5, 5, 1000); mu = 3.25; sd = 0.5; figure; ...

quasi 3 anni fa | 2

Risposto
Is it possible to insert a Matlab Live Task into an App Designer GUI?
The Live Tasks help you interactively determine methods and parameters for outlier cleaning. The tasks will generate MATLAB code...

quasi 3 anni fa | 1

| accettato

Carica altro