Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 1

| A accepté

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

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 2

| A accepté

A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 1

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

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
One Class SVM not working
This looks like a bug in ocsvm. Can you please contact Technical Support?

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 1

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

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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; ...

plus de 2 ans il y a | 2

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
LS-Dyna to matlab connection
It's not official, but you can refer to such a 3rd party project. The author is trying to make run Simulation in LS-Dyna via MTA...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
What is dsmpblib ?
The library appears to be a third-party library called ConfigurationDesk's MIPS Blockset (dSpace-mips library) from dSpace. Ple...

plus de 2 ans il y a | 1

Réponse apportée
매트랩 실행 시 글자 깨짐 현상은 어떻게 해결해야합니까?
Unfortunately, there is no good way to work around problem other than to set the following properties of charts with a set(0, "D...

plus de 2 ans il y a | 0

Réponse apportée
I have license expire problem
A possibility is that your organization did not extend its contract with MathWorks, or it's about to renew your license. Please ...

plus de 2 ans il y a | 0

Charger plus