![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/28838411_1673442018502_DEF.jpg)
Jasvin
MathWorks
Followers: 0 Following: 0
Programming Languages:
Python, C++, Java, Javascript, MATLAB, SQL, HTML, CSS
Spoken Languages:
English, Hindi
Python, C++, Java, Javascript, MATLAB, SQL, HTML, CSS
Spoken Languages:
English, Hindi
統計
All
Feeds
回答済み
How do I optimize two scalar variables for an output that relies on multiple different arrays?
Hi Craig, If I understand your problem correctly, you have an optimization problem where you are trying to optimize the value ...
How do I optimize two scalar variables for an output that relies on multiple different arrays?
Hi Craig, If I understand your problem correctly, you have an optimization problem where you are trying to optimize the value ...
1年以上 前 | 0
回答済み
why the penalty of ga, when all the population violates the nonlinear constraints, is smaller than the penalty of feasible populations?
Hi Emebet, So, this is a problem that exists with all optimization algorithms in MATLAB. The following MATLAB Answers post wou...
why the penalty of ga, when all the population violates the nonlinear constraints, is smaller than the penalty of feasible populations?
Hi Emebet, So, this is a problem that exists with all optimization algorithms in MATLAB. The following MATLAB Answers post wou...
1年以上 前 | 0
回答済み
Is it possible to have access to the information related to any generation that is less than maxgenerations?
Hi Shuxuan, So, the short answer is that you cannot access the “x” or “fval” values for “gamultiobj”. However, you can get a l...
Is it possible to have access to the information related to any generation that is less than maxgenerations?
Hi Shuxuan, So, the short answer is that you cannot access the “x” or “fval” values for “gamultiobj”. However, you can get a l...
1年以上 前 | 0
回答済み
ode15s step size warning with ODE system using anonymous functions
Hi, For resolving these issues with tolerances, most likely the ODE solver chosen, in this case, “ode15s” is not well-suited f...
ode15s step size warning with ODE system using anonymous functions
Hi, For resolving these issues with tolerances, most likely the ODE solver chosen, in this case, “ode15s” is not well-suited f...
1年以上 前 | 0
回答済み
Out of memory error during parameter optimization with fmincon and parallel computing
Hi Justus, While there are many moving components involved here, especially with the parallel workers, I think a possible appr...
Out of memory error during parameter optimization with fmincon and parallel computing
Hi Justus, While there are many moving components involved here, especially with the parallel workers, I think a possible appr...
1年以上 前 | 0
回答済み
I want to add CNN layer into a BPNN-PSO model, how can I do it?
It is not possible to directly add a Convolutional Neural Network (CNN) layer to a Backpropagation Neural Network (BPNN) in MATL...
I want to add CNN layer into a BPNN-PSO model, how can I do it?
It is not possible to directly add a Convolutional Neural Network (CNN) layer to a Backpropagation Neural Network (BPNN) in MATL...
2年弱 前 | 0
回答済み
Edit labeles from superpixel function
Assuming that you want to easily and manually label the already labelled image, MATLAB has the Image Labeler tool built specific...
Edit labeles from superpixel function
Assuming that you want to easily and manually label the already labelled image, MATLAB has the Image Labeler tool built specific...
2年弱 前 | 0
| 採用済み
回答済み
Why is the "Remove internal data zero initialization" option removed when the code generation interface is specified to a C++ class?
Unfortunately, if the "Remove internal data zero initialization" option is greyed out in the Simulink configuration parameters w...
Why is the "Remove internal data zero initialization" option removed when the code generation interface is specified to a C++ class?
Unfortunately, if the "Remove internal data zero initialization" option is greyed out in the Simulink configuration parameters w...
2年弱 前 | 0
回答済み
Is Ceres-Solver being used in the factor graph optimization?
MathWorks' Factor Graph Toolbox is a proprietary software package, and the implementation details of its optimize function are n...
Is Ceres-Solver being used in the factor graph optimization?
MathWorks' Factor Graph Toolbox is a proprietary software package, and the implementation details of its optimize function are n...
2年弱 前 | 0
回答済み
How we cany connect the BLDC motor model with inverter?
If this is an issue of domain incompatibility like one component is of the electrical domain and another is of the mechanical do...
How we cany connect the BLDC motor model with inverter?
If this is an issue of domain incompatibility like one component is of the electrical domain and another is of the mechanical do...
2年弱 前 | 0
回答済み
Fitting models to data with different dependencies
Assuming that you also have the CBF observations for creating the model accurately, the problem essentially boils down to fittin...
Fitting models to data with different dependencies
Assuming that you also have the CBF observations for creating the model accurately, the problem essentially boils down to fittin...
2年弱 前 | 0
回答済み
Particle distribution of given image
Unless you have any training data available using which you can create a proper model explicitly built to identify the three reg...
Particle distribution of given image
Unless you have any training data available using which you can create a proper model explicitly built to identify the three reg...
2年弱 前 | 0
回答済み
How to draw a semi parabola plot for a certain range (0, 1) and (0 90)?
Assuming that you have the code to generate the parabola (if you don't then you can refer to the below MATLAB Answer, https://ww...
How to draw a semi parabola plot for a certain range (0, 1) and (0 90)?
Assuming that you have the code to generate the parabola (if you don't then you can refer to the below MATLAB Answer, https://ww...
2年弱 前 | 0
回答済み
Need to convert data from design optimisation (in the form of a .dat file) to .stl file using "convert voxels to stl mathworks script"
As per my understanding, you have the X, Y, Z data for the grid in a .dat file that you want to convert to an STL file and you a...
Need to convert data from design optimisation (in the form of a .dat file) to .stl file using "convert voxels to stl mathworks script"
As per my understanding, you have the X, Y, Z data for the grid in a .dat file that you want to convert to an STL file and you a...
2年弱 前 | 0
回答済み
why do i see "Error while generating code for chart Test Sequence" error when running my test harness?
It is entirely possible that there are some errors in your model during compilation. So first have a look at the Diagnostics of ...
why do i see "Error while generating code for chart Test Sequence" error when running my test harness?
It is entirely possible that there are some errors in your model during compilation. So first have a look at the Diagnostics of ...
2年弱 前 | 0
回答済み
Model calibration for different dates
You can use the findgroups() and splitapply() functions in tandem to achieve the desired functionality. Their use case is defin...
Model calibration for different dates
You can use the findgroups() and splitapply() functions in tandem to achieve the desired functionality. Their use case is defin...
2年弱 前 | 0
回答済み
error when generating protected model with code generation
This MATLAB Answer highlights in detail what the issue can be. https://www.mathworks.com/matlabcentral/answers/335297-bug-simul...
error when generating protected model with code generation
This MATLAB Answer highlights in detail what the issue can be. https://www.mathworks.com/matlabcentral/answers/335297-bug-simul...
2年弱 前 | 0
回答済み
Programmatically set StorageClass to ImportFromFile on signals
You can refer to the "Configure Code Generation Settings for Signals Programmatically” section in the below documentation link. ...
Programmatically set StorageClass to ImportFromFile on signals
You can refer to the "Configure Code Generation Settings for Signals Programmatically” section in the below documentation link. ...
2年弱 前 | 0
回答済み
How can i control an event based on a percentage?
If you have the probability of the event happening and you want to get the data entries/samples that would successfully result i...
How can i control an event based on a percentage?
If you have the probability of the event happening and you want to get the data entries/samples that would successfully result i...
2年弱 前 | 0
回答済み
Exporting script that runs a simulink model.
You can have a look at the Coder family of products for embedded code generation https://www.mathworks.com/products/embedded-cod...
Exporting script that runs a simulink model.
You can have a look at the Coder family of products for embedded code generation https://www.mathworks.com/products/embedded-cod...
2年弱 前 | 0
| 採用済み
回答済み
How to Convert .mat to xml?
The read() function has several uses which include reading data from a datastore (https://www.mathworks.com/help/matlab/ref/matl...
How to Convert .mat to xml?
The read() function has several uses which include reading data from a datastore (https://www.mathworks.com/help/matlab/ref/matl...
約2年 前 | 0
回答済み
keypress callback not working for a second called UIFigure
A possible workaround for this can be trying to change the focus to a UI element that’s within the second UI Figure via the focu...
keypress callback not working for a second called UIFigure
A possible workaround for this can be trying to change the focus to a UI element that’s within the second UI Figure via the focu...
約2年 前 | 0
回答済み
Changing battery internal resistance/output during simulation
Assuming that you can use a resistor component as part of the battery’s internal resistance, you can directly use the “Variable ...
Changing battery internal resistance/output during simulation
Assuming that you can use a resistor component as part of the battery’s internal resistance, you can directly use the “Variable ...
約2年 前 | 1
回答済み
How do we write double matrix as an expression?
Assuming that you want to extract a 2x2 sub-matrix from a 1441x2 double matrix called "cost", here is how you would do that cons...
How do we write double matrix as an expression?
Assuming that you want to extract a 2x2 sub-matrix from a 1441x2 double matrix called "cost", here is how you would do that cons...
約2年 前 | 0
回答済み
How to design this mechanism using Simulink?
Hi, You can model such physical domain systems via the Simscape product which is available from within Simulink. To get star...
How to design this mechanism using Simulink?
Hi, You can model such physical domain systems via the Simscape product which is available from within Simulink. To get star...
約2年 前 | 0
回答済み
I am struggling with letter b and keep getting this as an error. Variable b must be of size [1 1]. It is currently of size [3 4]. Check where the variable is assigned a value.
Hi Monique, You just have to reassign the output to b instead of B as you are doing in this case. Also, here’s another way ...
I am struggling with letter b and keep getting this as an error. Variable b must be of size [1 1]. It is currently of size [3 4]. Check where the variable is assigned a value.
Hi Monique, You just have to reassign the output to b instead of B as you are doing in this case. Also, here’s another way ...
約2年 前 | 1
| 採用済み
回答済み
How can i reduce the size of the legend and increase the size of the plot figure?
I tried reproducing your plot, tinkered with the settings and was able to get the following plot, Does this look closer to wh...
How can i reduce the size of the legend and increase the size of the plot figure?
I tried reproducing your plot, tinkered with the settings and was able to get the following plot, Does this look closer to wh...
約2年 前 | 0
| 採用済み
解決済み
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
約2年 前
解決済み
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
約2年 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
約2年 前