Author: PuTI
Time-Domain Responses of Multiple simulation with different model’s paramters
I need to compare the responses of various model’s parametrs , I’m using the multiple simulations panel in the simulink editor to run multiple simulations with varying values. I’m viewing the results in simulation manager, so I need to see as well the time-domain responses per multiple parameters, Is it possible to see/plot it in simulation manager?
Since I’m using "on-line" matlab version I can open Data InspectorI need to compare the responses of various model’s parametrs , I’m using the multiple simulations panel in the simulink editor to run multiple simulations with varying values. I’m viewing the results in simulation manager, so I need to see as well the time-domain responses per multiple parameters, Is it possible to see/plot it in simulation manager?
Since I’m using "on-line" matlab version I can open Data Inspector I need to compare the responses of various model’s parametrs , I’m using the multiple simulations panel in the simulink editor to run multiple simulations with varying values. I’m viewing the results in simulation manager, so I need to see as well the time-domain responses per multiple parameters, Is it possible to see/plot it in simulation manager?
Since I’m using "on-line" matlab version I can open Data Inspector multiple simulation plot results MATLAB Answers — New Questions
using sparse matrix and vpa function simultaneously
i am using the following code in my 3D FEM analysis
digits(16)
k_bc=vpa(k_bc);
U=k_bcf_bc.
residual=norm(k_bc*U-f_bc).
Now to decrease the residual i have taken the variable to symbolic domain.Now when i use vpa i loose my sparcity of stiffness matrix causing a slow calculation rate but give lower value of residual and when i use sparse matrix the residual value is high because of the large condition number of k_bc of the order 10e14(i think it is a result of lagrange shape function beig used in Galerkin’s FEM).how to use both sparcity and vpa simultaneously to have lowervalue to residual and still have higher speedi am using the following code in my 3D FEM analysis
digits(16)
k_bc=vpa(k_bc);
U=k_bcf_bc.
residual=norm(k_bc*U-f_bc).
Now to decrease the residual i have taken the variable to symbolic domain.Now when i use vpa i loose my sparcity of stiffness matrix causing a slow calculation rate but give lower value of residual and when i use sparse matrix the residual value is high because of the large condition number of k_bc of the order 10e14(i think it is a result of lagrange shape function beig used in Galerkin’s FEM).how to use both sparcity and vpa simultaneously to have lowervalue to residual and still have higher speed i am using the following code in my 3D FEM analysis
digits(16)
k_bc=vpa(k_bc);
U=k_bcf_bc.
residual=norm(k_bc*U-f_bc).
Now to decrease the residual i have taken the variable to symbolic domain.Now when i use vpa i loose my sparcity of stiffness matrix causing a slow calculation rate but give lower value of residual and when i use sparse matrix the residual value is high because of the large condition number of k_bc of the order 10e14(i think it is a result of lagrange shape function beig used in Galerkin’s FEM).how to use both sparcity and vpa simultaneously to have lowervalue to residual and still have higher speed vpa, sparse MATLAB Answers — New Questions
How to control the speed of the synchronus motor in simscape?
I want to cntrol the speed of the synchronous motor , i used the spwm inverter circuit ans attached a synchronous motor but the motor is giving the speed in negative direction couls u please help me with this problem.I attached the model design and the output screen of the motor.I want to cntrol the speed of the synchronous motor , i used the spwm inverter circuit ans attached a synchronous motor but the motor is giving the speed in negative direction couls u please help me with this problem.I attached the model design and the output screen of the motor. I want to cntrol the speed of the synchronous motor , i used the spwm inverter circuit ans attached a synchronous motor but the motor is giving the speed in negative direction couls u please help me with this problem.I attached the model design and the output screen of the motor. control the speed of the motor MATLAB Answers — New Questions
Distinguish the different curves and identify the points corresponding to each way
I have this figure but it is difficult to distinguish the different curves and identify the points corresponding to each approach. Is there any other way to represent each method?
Thanks in advanceI have this figure but it is difficult to distinguish the different curves and identify the points corresponding to each approach. Is there any other way to represent each method?
Thanks in advance I have this figure but it is difficult to distinguish the different curves and identify the points corresponding to each approach. Is there any other way to represent each method?
Thanks in advance cureve MATLAB Answers — New Questions
Retrieve requirement information linked to a test assessment step programmatically
Guys, do you know how to retrieve the requirement information linked to an assessment step? Normally slreq.outLinks function works for blocks. But I couldn’t make it for the test assessment step. Anyone help?Guys, do you know how to retrieve the requirement information linked to an assessment step? Normally slreq.outLinks function works for blocks. But I couldn’t make it for the test assessment step. Anyone help? Guys, do you know how to retrieve the requirement information linked to an assessment step? Normally slreq.outLinks function works for blocks. But I couldn’t make it for the test assessment step. Anyone help? test assessment step linked to a requirement MATLAB Answers — New Questions
Why do I receive a warning regarding exhausted change notification handles when I open MATLAB?
When I open MATLAB, I see a warning similar to the following:
Warning: Could not get change notification handle for remote <directory_name>. Windows has exhausted its pool of handles for this file server. Cannot determine whether this server supports directory timestamp updates. Type ‘help change_notification’ for more info
How can I resolve this?When I open MATLAB, I see a warning similar to the following:
Warning: Could not get change notification handle for remote <directory_name>. Windows has exhausted its pool of handles for this file server. Cannot determine whether this server supports directory timestamp updates. Type ‘help change_notification’ for more info
How can I resolve this? When I open MATLAB, I see a warning similar to the following:
Warning: Could not get change notification handle for remote <directory_name>. Windows has exhausted its pool of handles for this file server. Cannot determine whether this server supports directory timestamp updates. Type ‘help change_notification’ for more info
How can I resolve this? responsive, change_notification, entries, path, supply MATLAB Answers — New Questions
How do I configure a MATLAB worker in a cluster to have the security setting of a user who submits the job?
I am trying to run a parallel MATLAB job on a cluster. The parallel code writes the results to a folder which requires specific group/user permissions.
When I run code on the workers running locally on my machine, I am able to read or write to/from the folder without any issues since I am a user who has permission to do that folder. However, when I submit the code to the cluster, the workers can not access the folder.I am trying to run a parallel MATLAB job on a cluster. The parallel code writes the results to a folder which requires specific group/user permissions.
When I run code on the workers running locally on my machine, I am able to read or write to/from the folder without any issues since I am a user who has permission to do that folder. However, when I submit the code to the cluster, the workers can not access the folder. I am trying to run a parallel MATLAB job on a cluster. The parallel code writes the results to a folder which requires specific group/user permissions.
When I run code on the workers running locally on my machine, I am able to read or write to/from the folder without any issues since I am a user who has permission to do that folder. However, when I submit the code to the cluster, the workers can not access the folder. security, workers, group, permission, mdcs, parallel, job, distributed, jobmanager MATLAB Answers — New Questions
edge detection and comparison
How to compare these two images to find the length and area of distortion in the final imageHow to compare these two images to find the length and area of distortion in the final image How to compare these two images to find the length and area of distortion in the final image edge detection, image comparison, gauging, metrology, image segmentation, caliper dimensions MATLAB Answers — New Questions
QPSK simulation with AWGN and BER using Simulink
Hi
What wrong with this block diagram and how to make monte carlo simulation and i am wondering if there any resources for this kind of modulationHi
What wrong with this block diagram and how to make monte carlo simulation and i am wondering if there any resources for this kind of modulation Hi
What wrong with this block diagram and how to make monte carlo simulation and i am wondering if there any resources for this kind of modulation qpsk MATLAB Answers — New Questions
S-Function ‘SimCoupler’ does not exist
where can I find this block in matlab 2017awhere can I find this block in matlab 2017a where can I find this block in matlab 2017a 1 MATLAB Answers — New Questions
Accessing LIN blocks in Simulink model
How do I get the LIN pack and LIN unpack blocks into my model? I have the Vehicle Network Toolbox (VNT) toolbox with me, I can see the LIN blocks in the documentation but I cannot see it the Simulink Library, Can some please help me out here? Or do I need a seperate license to access them because the documentation doesn’t mention anything related to the licenses.How do I get the LIN pack and LIN unpack blocks into my model? I have the Vehicle Network Toolbox (VNT) toolbox with me, I can see the LIN blocks in the documentation but I cannot see it the Simulink Library, Can some please help me out here? Or do I need a seperate license to access them because the documentation doesn’t mention anything related to the licenses. How do I get the LIN pack and LIN unpack blocks into my model? I have the Vehicle Network Toolbox (VNT) toolbox with me, I can see the LIN blocks in the documentation but I cannot see it the Simulink Library, Can some please help me out here? Or do I need a seperate license to access them because the documentation doesn’t mention anything related to the licenses. simulink, vnt, lin, can MATLAB Answers — New Questions
state flow chart properties action language
Action Language selected as Matlab, Cnt(counter) is updating and working fine.
when, Action Language selected as C, and if else ststement is replaced with flowchart (pattern) Cnt is not updating
if Any one faced this kind of issue before please help meAction Language selected as Matlab, Cnt(counter) is updating and working fine.
when, Action Language selected as C, and if else ststement is replaced with flowchart (pattern) Cnt is not updating
if Any one faced this kind of issue before please help me Action Language selected as Matlab, Cnt(counter) is updating and working fine.
when, Action Language selected as C, and if else ststement is replaced with flowchart (pattern) Cnt is not updating
if Any one faced this kind of issue before please help me state flow chart MATLAB Answers — New Questions
ODE time vector plot does not correspond to the time vector values
Hi! When I solve an ODE using ode23 I get a time vector and my state. In the time vector everything seems fine however when I plot the states agaisnt the time, the time appears completely skewed(it should be from 0-5 and its from 0-0.09…..)
How can I solve this?Hi! When I solve an ODE using ode23 I get a time vector and my state. In the time vector everything seems fine however when I plot the states agaisnt the time, the time appears completely skewed(it should be from 0-5 and its from 0-0.09…..)
How can I solve this? Hi! When I solve an ODE using ode23 I get a time vector and my state. In the time vector everything seems fine however when I plot the states agaisnt the time, the time appears completely skewed(it should be from 0-5 and its from 0-0.09…..)
How can I solve this? ode23, ode, plot, plotting, time MATLAB Answers — New Questions
Adding vectors of different sizes… works now? Can this be suppressed?
In previous versions of matlab, adding two vectors of different sizes would result in an error (this would align with rules of matrix addition).
For example:
[ 1 2 3 4] + [1 2 3 4]’
ans =
2 3 4 5
3 4 5 6
4 5 6 7
5 6 7 8
For example:
[ 1 2 3 4] + [1 2 3 4 5]’
ans =
2 3 4 5
3 4 5 6
4 5 6 7
5 6 7 8
6 7 8 9
Is there a way to suppress this new "feature"?In previous versions of matlab, adding two vectors of different sizes would result in an error (this would align with rules of matrix addition).
For example:
[ 1 2 3 4] + [1 2 3 4]’
ans =
2 3 4 5
3 4 5 6
4 5 6 7
5 6 7 8
For example:
[ 1 2 3 4] + [1 2 3 4 5]’
ans =
2 3 4 5
3 4 5 6
4 5 6 7
5 6 7 8
6 7 8 9
Is there a way to suppress this new "feature"? In previous versions of matlab, adding two vectors of different sizes would result in an error (this would align with rules of matrix addition).
For example:
[ 1 2 3 4] + [1 2 3 4]’
ans =
2 3 4 5
3 4 5 6
4 5 6 7
5 6 7 8
For example:
[ 1 2 3 4] + [1 2 3 4 5]’
ans =
2 3 4 5
3 4 5 6
4 5 6 7
5 6 7 8
6 7 8 9
Is there a way to suppress this new "feature"? matrix addition, warnings, errors MATLAB Answers — New Questions
Why i get error message when trying using lowpass?
Hi all,
when i try to use lowpass command, i got this message;
lowpass requires Signal Processing Toolbox.
The image as below;
I am using Academic version and i have installed Signal Processing toolbox during installation
Here is the image;Hi all,
when i try to use lowpass command, i got this message;
lowpass requires Signal Processing Toolbox.
The image as below;
I am using Academic version and i have installed Signal Processing toolbox during installation
Here is the image; Hi all,
when i try to use lowpass command, i got this message;
lowpass requires Signal Processing Toolbox.
The image as below;
I am using Academic version and i have installed Signal Processing toolbox during installation
Here is the image; signal processing toolbox MATLAB Answers — New Questions
Malware Forensic Analysis: Capturing What Attackers Leave Behind
Every attack leaves a trail, but in containerized environments, this trail can evaporate before you even realize you have been attacked. These environments bring new challenges for security teams, including an expanding attack surface. Containers, while incredibly powerful, are short-lived, and attackers exploit this by moving quickly and covering their tracks. They often download and execute malware, then silently modify, or delete the files to erase evidence of their actions, making it nearly impossible to trace the original attack. Security teams are often left scrambling to piece together what happened.
Every attack leaves a trail, but in containerized environments, this trail can evaporate before you even realize you have been attacked. These environments bring new challenges for security teams, including an expanding attack surface. Containers, while incredibly powerful, are short-lived, and attackers exploit this by moving quickly and covering their tracks. They often download and execute malware, then silently modify, or delete the files to erase evidence of their actions, making it nearly impossible to trace the original attack. Security teams are often left scrambling to piece together what happened.
Read More
Adding names to the mlm.opt file when the maximum allowable number of characters (4000) is reached.
We would like to enter additional names to selected toolboxes and blocksets within the mlm.opt (options) file. However, we have reached the maximum number of allowed characters (4000). To get around this, we haved deleted some names from the line. Is there a way to split the line?We would like to enter additional names to selected toolboxes and blocksets within the mlm.opt (options) file. However, we have reached the maximum number of allowed characters (4000). To get around this, we haved deleted some names from the line. Is there a way to split the line? We would like to enter additional names to selected toolboxes and blocksets within the mlm.opt (options) file. However, we have reached the maximum number of allowed characters (4000). To get around this, we haved deleted some names from the line. Is there a way to split the line? options file MATLAB Answers — New Questions
Why I can not sign in in the installed matlab? (2024b academic version)
Hi I can not sign in in the installed matlab, when I try the sign in window write this:
mw-login :: No endpoint specified.
This is problem, because the toolboxes, wich I installed are not working, because the matlab do not see my lisence. But when I open online the matlab, the toolboxes are working.
So, someone know the solution, why I can not sign in? Or anything else solution?Hi I can not sign in in the installed matlab, when I try the sign in window write this:
mw-login :: No endpoint specified.
This is problem, because the toolboxes, wich I installed are not working, because the matlab do not see my lisence. But when I open online the matlab, the toolboxes are working.
So, someone know the solution, why I can not sign in? Or anything else solution? Hi I can not sign in in the installed matlab, when I try the sign in window write this:
mw-login :: No endpoint specified.
This is problem, because the toolboxes, wich I installed are not working, because the matlab do not see my lisence. But when I open online the matlab, the toolboxes are working.
So, someone know the solution, why I can not sign in? Or anything else solution? sign in, license, toolbox, problem MATLAB Answers — New Questions
DDPG algorithm/Experience Buffer/ rl.util.ExperienceBuffer
I want to code my own DDPG algorithm. In the intial steps, the Batch size is bigger than the number of experiences in experience buffer, how can I still get enough sampled data for my miniBatch ?
I use rl.util.ExperienceBuffer to create my experience buffer and use createSampledExperienceMiniBatch(buffer,BatchSize) function to get datas for minBatch. However, when the data in experience buffer is smaller than the BatchSize, the function return 0x0 cell.I want to code my own DDPG algorithm. In the intial steps, the Batch size is bigger than the number of experiences in experience buffer, how can I still get enough sampled data for my miniBatch ?
I use rl.util.ExperienceBuffer to create my experience buffer and use createSampledExperienceMiniBatch(buffer,BatchSize) function to get datas for minBatch. However, when the data in experience buffer is smaller than the BatchSize, the function return 0x0 cell. I want to code my own DDPG algorithm. In the intial steps, the Batch size is bigger than the number of experiences in experience buffer, how can I still get enough sampled data for my miniBatch ?
I use rl.util.ExperienceBuffer to create my experience buffer and use createSampledExperienceMiniBatch(buffer,BatchSize) function to get datas for minBatch. However, when the data in experience buffer is smaller than the BatchSize, the function return 0x0 cell. experiencebuffer, ddpg MATLAB Answers — New Questions
Which Matlab version ?
Hi,
My laptop details as follows :
====================
Processor Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
Video Card Intel(R) UHD Graphics
Operating System Windows 10
RAM 8.0 GB
=======================
I am thinking of 2022b version, will be working fine ? What you recmmend plz ?Hi,
My laptop details as follows :
====================
Processor Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
Video Card Intel(R) UHD Graphics
Operating System Windows 10
RAM 8.0 GB
=======================
I am thinking of 2022b version, will be working fine ? What you recmmend plz ? Hi,
My laptop details as follows :
====================
Processor Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
Video Card Intel(R) UHD Graphics
Operating System Windows 10
RAM 8.0 GB
=======================
I am thinking of 2022b version, will be working fine ? What you recmmend plz ? verion, 2022b MATLAB Answers — New Questions