Community Profile

photo

Pullak Barik


16 total contributions since 2019

Pullak Barik's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
how to find the properties of a simulink library block using matlab script
I guess you should read up about get_param and the 'ObjectProperties' parameter for the get_param function. You can then use get...

26 jours ago | 0

Answered
How to trim a text file with start and end line numbers
I use the code-generator from the import tool to only import the lines needed from the text file, and then copied the cropped co...

26 jours ago | 1

Answered
How to input result looping/iteret (for) to a existing matrix ?
I can suggest the following ways- Computing Q0, Q1, ..., Q5 values in a for-loop using a single array where the values of X(i) ...

26 jours ago | 1

| accepted

Answered
Return an output even if the while loop gets an error
I suggest that you use try-catch blocks in your code to customise the behaviour when you get an error. Link to documentation- T...

26 jours ago | 0

Answered
Solve differential equation using ode23 and ode45
Firstly, as correctly mentioned in the comments, the eqn variable should be written as- eqn = diff(x, y) == (x + y*exp(y)); No...

26 jours ago | 0

| accepted

Answered
creating a new column with three columns
I will proceed in the following way- 1) Merge col_1, col_2, col_3 into a single matrix. 2) Reshape the transpose of the array....

26 jours ago | 0

Answered
How to implement multiple output condition using outport and switch
This query, though simple, seems incomplete and unclear. For instance, what happens to the value of 'z' if the if-condition hold...

26 jours ago | 0

Answered
max function to receive maximum element of the row
Firstly, here's the link to the documentation on the max function- max. Use the link to understand more about the max function....

26 jours ago | 0

| accepted

Answered
How to combine multiple curves to create one single curve or combining multiple curves to generate single average density curve
Please refer to the following thread on MATLAB Answers and tell if it helps- Combining curves to create a single average curve. ...

26 jours ago | 0

Answered
Parse varies of pair variable into function?
The comment by Andreas Dorner should help. Basically, using findpeaks(y, x, tmp{:}); should work out for you.

26 jours ago | 0

| accepted

Answered
time intervals distribution in 24 hours day time
I guess that making a table that stores these times will help. I have attached a code below, please tell if it helps- tariff = ...

27 jours ago | 0

Answered
plot differential equation need help
I tried a way out, tell me if it helps- clc syms y(x); syms q; Dy = diff(y); ode = diff(y,x,2) + q*y == 10*q; %The equation...

27 jours ago | 0

| accepted

Answered
live editor plots next to each other
As mentioned in the comment by @Vidhathri, you can try using subplot to cater to your needs- Subplot docs page. If you want two...

27 jours ago | 0

Answered
How to split data from being in one excel file cell into multiple column
I guess the following code shall work for you- clc; clear; c = readcell('test1.xlsx'); x = c(cellfun(@ischar, c)); split1=r...

environ un mois ago | 0

Answered
Are both the AeroSpace Toolbox and blockset required to do flight dynamics simulation in Simulink and how to get them to show/use them once installed.
If you want to use the drag and drop functionality for various relevant blocks for modelling on the Simulink GUI, you will need ...

environ un mois ago | 0

Answered
vertcat error due to Dimensions of arrays being concatenated are not consistent
If you open 'split1' variable from the workspace and inspect its elements, it is easy to see why you are facing the issue. What...

environ un mois ago | 1

| accepted