Community Profile

photo

Subhadra Mahanti

MathWorks

Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • First Submission
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
how to create a new library in matlab library browser?
You can add your library using the SLBLOCKS mechanism. Follow the steps in this page: https://www.mathworks.com/help/simulink/u...

6 years ago | 0

Submitted


World Population Growth
World population map and growth chart

8 years ago | 2 downloads |

Thumbnail

Answered
Comparing cell arrays of symbolic variables
isequal(G{1},G{2}) The above code will return if true and 0 otherwise.

8 years ago | 0

Answered
How to pre-allocate table rows
I can think of several ways to do it depending on your data. One way would be: create a cell array of row x column and covert ...

8 years ago | 2

Answered
how to calculate the value of u(x,t)=exp(at+bx) for x=0 to 1 and t=0 to 1
You didn't mention values of a and b. So I am passing that as an argument here. u_xt = @(x,t,a,b) exp(a*t+b*x); % Create a...

8 years ago | 0

Answered
Is it possible to delete the Simulink (R2014b) browser history (back/forward/up to parent) of a model without restarting MATLAB?
Why restart MATLAB? Doesn't closing the model help? E.g. bdclose all %or if you want to just close a specific model (say a...

8 years ago | 0

Answered
What is that symbol next to the outport of a simulink block?
The magnifying glass on a signal stands for a test point. You can add a test point to a signal through right-clicking on a signa...

8 years ago | 1

Answered
how to find the floating scope in simulink model?
To find a floating scope in a model find_system(aModel,'AllBlocks','on','BlockType','Scope','Floating','on') To find a f...

8 years ago | 0

Answered
Searching for a directory in matlab Path
If _exist(myDir,'dir')==7_ I usually go to the MATLAB root and do a system find, but remember this can return several values ...

8 years ago | 0

Answered
Why does 'filesep' not work with 'gcb'?
When you are writing MATLAB scripts to get or set block names or paths, use forward slashes as forward-slashes are always used a...

8 years ago | 1

| accepted

Answered
check whether a Simulink handle is a block or model programmatically
Shafiul To determine whether a handle (say h) is that of a block or model, just query its type: get_param(h,'Type') For...

8 years ago | 1

| accepted

Answered
Update library repository for simulink custom library
The following flag ' *Choice*' needs to be added to your SLBLOCKS file. The flag indicates that the SLBLOCKS author wants to rep...

8 years ago | 3

| accepted

Solved


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

8 years ago

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

8 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

8 years ago

Solved


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

8 years ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

8 years ago