Community Profile # Pullak Barik

##### Last seen: 8ヶ月 前
16 2019 年以降の合計貢献数

#### Pullak Barik's バッジ

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

1年以上 前 | 0

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

1年以上 前 | 1

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

1年以上 前 | 1

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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.

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

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

1年以上 前 | 0

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

1年以上 前 | 1

| 採用済み