Community Profile

photo

Jaynik


Last seen: 1 día hace Con actividad desde 2023

Followers: 0   Following: 0

Estadísticas

All
  • Solver
  • 6 Month Streak
  • Knowledgeable Level 3
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
I am migrating an excel model to matlab. The orginal model defines decision variables in then constraints. How can I do the same?
Hi Al, I see that you want to optimize an objective function with additional constraints where x2 > a + c. So the values of 'a'...

10 días hace | 0

Respondida
How do I merge/average several datasets (Time, "Y," "Z")?
Hi Kevin, One method to merge the data is take a full outer join based on the 'time' column and take a mean for the same values...

10 días hace | 0

Respondida
Can 'partitionDetections' be used with spherical data
Hi William, According to the documentation, the "partitionDetections" function is primarily designed to work with Cartesia...

11 días hace | 0

Respondida
How to implement hermite gaussian method ?
Hi, Here is a sample code to create and convolve the Hermit Gaussian function: sd = 1; % Standard deviation of the Gaussian ...

11 días hace | 0

Respondida
Find coordinates of closest points in successive frames
Hi, You can use the opticalFlow object to track motion between two frames. There are several functions to compute optical flow ...

11 días hace | 0

Respondida
How do I make a 3D model using Matlab Patch function?
Hi Karina, According to me, there is no direct function to plot the bridge in 3D with some thickness and dimension. You will ha...

11 días hace | 0

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

13 días hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

13 días hace

Resuelto


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:...

13 días hace

Respondida
When I use GA app, how to put the constraints with absolute value
Hi, You can use the "abs" function for handling absolute values in the second constraint. Here is a sample code for the same: ...

18 días hace | 0

Respondida
How do I use adj2gephilab function for csv expot to gephi for network diagram representation
Hi Peter, The error you are getting is likely because you are trying to pass "p_flow_res.F5(21).M" as a single parameter, but M...

18 días hace | 0

Respondida
How can ı find simple transfer function of Asynchronous Motor ?
Hi Yunus, In the case of an asynchronous motor, the dynamics are quite complex with multiple inputs and multiple outputs. There...

20 días hace | 0

Respondida
What are the meaning of the mclInitializeApplication "options" parameters?
Hi Robert, The doc for "mclInitializeApplication" mentions that the switches have the same meaning as they do when used in MATL...

24 días hace | 0

Respondida
Plot 2D predicate function
Hi Gergely, Instead of using 'fcontour', you can use the 'imagesc' function which takes the input as "x", "y" and instead of "C...

24 días hace | 0

Respondida
How can I solve the Riccati equation with a variable?
Hi @senhan yao, For determining the solution of the Riccati equation, you can use the "care" or "icare" function from the "Cont...

24 días hace | 0

Respondida
plotting using if statement... please help!!
Hi Sahrish, For achieving the described behavior, the approach needs to be adjusted. The way in which if statements and the "od...

24 días hace | 0

Respondida
substituting function variable in function handle
Hi Bathala, The error you are encountering occurs because "y" is not defined in the scope where you are trying to substitute "y...

25 días hace | 0

Respondida
Change inter quartile range(IQR) for boxchart
Hi Bhaskar, From the given description, it seems like you want to add whiskers to a custom value of IQR instead of the default....

26 días hace | 0

Respondida
I have grid frequency data, first column is time(Time) and second is frequency (Value). I want to calculate the duration of each cycle between 50 to 49.90 Hz.
Hi Muhammad, Your approach to calculate the duration of each cycle is correct. But you need to end the loop and handle edge cas...

27 días hace | 0

| aceptada

Respondida
How to use LaTeX interpreter for aligning words within an xlabel for a tilelayout?
Hi Dominik, MATLAB just allows the use of basic LaTeX commands. The approach you have taken with \qquad{} is one way to manuall...

alrededor de 2 meses hace | 0

Respondida
how to find confidence interval for not normally distributed data
Hi Shagun, I tried reproducing the issue in MATLAB R2023a but the code works without any error. The problem you're encountering...

alrededor de 2 meses hace | 0

Respondida
Help with generating dataset for machine learning
Hi, Since you are a beginner to Simulink, to make a gear train model, you can start with the "Simscape Onramp". It will help in...

alrededor de 2 meses hace | 0

Respondida
Problem in "Increasing Automation with Functions > Creating and Calling Functions > (5/5) Create and Call Local Function", Task 2, MatLab Fundamentals
Hi Luciano, The way you have calculated the value of "ppgold" is correct but you have written it within the function definition...

alrededor de 2 meses hace | 1

| aceptada

Respondida
I got warning while doing four bar mechanism analysis (Matrix is singular, close to singular or badly scaled)
Hi Fauzanul, The warning you get suggests that the matrix "Cq" you're attempting to invert is either singular, close to singula...

alrededor de 2 meses hace | 0

Respondida
gamultiobj(): what are Fitness, Score and Rank?
Hi, Based on the documentation and the references present at the end, fitness refers to the raw values of the objective functio...

alrededor de 2 meses hace | 0

Respondida
Cannot Find Polyline / Shape Trimming Solution?
Hi Owen, To get a perfect octagon and trim off the unwanted edges, you might need to manually select the vertices that outline ...

alrededor de 2 meses hace | 0

Respondida
Eigenvectors of A'*A for non-square matrix A
Hi, If you have the matrix A, you can directly use the "eig" function to obtain the eigen vector associated with the minimum ei...

alrededor de 2 meses hace | 0

Respondida
Organizing Data from a Cell Array
Hi Zachary, Assuming that the "fullfile" string follows the same format for all the conditions, you can use "strsplit" to obtai...

alrededor de 2 meses hace | 0

Respondida
How to write a Quadratic Programming on the Vector Reference Governor?
Hi, We can solve the equation using the "quadprog" function by converting ||v(t) - r(t)|| to a quadratic programming problem. T...

2 meses hace | 0

Respondida
How to compare two 3D volumes using dice metric?
Hi Max, To create a 3D binary mask and compare two volumes using the Dice metric, you have already made progress by extracting ...

2 meses hace | 1

| aceptada

Cargar más