Community Profile

photo

Rashmil Dahanayake


University of New South Wales

Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Professional Interests: Power Converters

Statistiken

All
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 6 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Writing a script that tells you the quadrant of the coordinates
x=4;y=-7; %test value switch true case x >=0 && y>0 disp('Quadrant I') case x <=0 && y>0 disp('Quadrant II') ...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
find and set simulink parameters for several blocks
A temporary way around this. Works only if a Tag is specified under block properties. trial_model; cc=find_system('tri...

mehr als 9 Jahre vor | 1

Frage


find and set simulink parameters for several blocks
I have a simulink model with number of subsystems. For example I have used simpower systems MOSFET in multiple places within my...

mehr als 9 Jahre vor | 4 Antworten | 1

4

Antworten

Frage


connecting sqllite database from command line
HI, I'm using following commands to make a connection to sqllite database. The object variable conn.Message, appears to be -> ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Matlab memory consumption dependancies
According to the windows task manager, Matlab consumes 430,000 K memory. This is without any functions running and variables cle...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to generate signal like in picture
There are 3 signal with same period. Hence you need one sine wave block & 2 Repeating signal waves (for triangular and sawtooth...

mehr als 9 Jahre vor | 0

Frage


customize Simulink Scope - default settings set
How can I change the default settings of simulink scope. I understand individual scope style (background/line,axes,logging defa...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


webcam not closing properly
I'm using webcam() to acquire few images. I managed to get it working and export images in png format. However after the usage...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


copy legend information - 2014b
Hi, I want to copy few figures into a new figure with subplots. Hence as the initial step i intend to copy axes and legend inf...

mehr als 9 Jahre vor | 1 Antwort | 3

1

Antwort

Beantwortet
find missing elements in a matrix
Full Answer for my question asked previously. In case if someone might find it usefull A=1:3:20; % in complete data B=1...

mehr als 9 Jahre vor | 0

Frage


find missing elements in a matrix
Hi, I have a matrix represents code numbers. A=[1 2 3 6 7 45 46 47 53 78 80]; B=[55.23 ,74.22]; % ...

mehr als 9 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
parallel execution of system command
This can be achieved by invoking the command "start" system('start myprog1'); system('start myprog2');

mehr als 9 Jahre vor | 0

| akzeptiert

Frage


parallel execution of system command
Is there a way to execute a system command (ie calling up a dos executable/bang operator) parallely. Within a for loop I'm call...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
regexp to capture only certain length of characters
This could be the solution str4='4-44g 4541 75872 abcd stuvw'; patt4='\<\w{4}\>'; regexp(str4,patt4,'match')

mehr als 9 Jahre vor | 0

Frage


regexp to capture only certain length of characters
Hi, I'm trying to capture words with 4 characters only. A word consists or alphanumeric characters.(no symbols of white space) ...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using wildcard character in system command
I'm using 2012b Release & having problem with using wildcard symbol(*) with a system command. eg: >> [status ,out]=s...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


convert character array to cell
Hi, I'm trying to generate a file list using a system command. [status ,out]=system('dir mat') The format of the variabl...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


regexp and string rearrange in text file
I have a .txt file which has about 350 lines. The content is the .txt file is in following format Open loop test -19-06-201...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Access SIMULINK simulation time while it runs.
use <http://www.mathworks.com.au/help/simulink/slref/clock.html clock> block

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
How to change FFT settings ?
Are you using the Gui of the fftscope. If so you can update the number of cycles and frequency as required. If you need only ...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink Guide lines from box to box
Select Menu > View > smart Guide lines

fast 10 Jahre vor | 0

Beantwortet
how to generate square wave in matlab
t=0:.001:1; f=10; sq=1000*0.5*(square(2*pi*f*t)+1); plot(t,sq)

fast 10 Jahre vor | 2

Beantwortet
How can i run different timelines in Simuink?
Use "Enabled subsytem" block for both Subsytems. Updated file attached. Sub system 1 tuns from 0-75s. Subsystem 2 runs from...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
How can i run different timelines in Simuink?
Use an embedded matlab function to create a rule to overwrite negative time values. Attach the mdl file to investigate further

fast 10 Jahre vor | 0

Beantwortet
How can I raise an anonymous expression to a power?
Firstly correct the definition the inline functions for differentiation. Start the command with @ symbol. When calling inline...

fast 10 Jahre vor | 0

Beantwortet
How to reset a signal to zero after certain intervals in simulink?
You need to create an external reset signal checking the acceleration zero instances. Then double click on integrator parameter...

fast 10 Jahre vor | 0

| akzeptiert

Frage


text to column conversion
Hi, I have a cell array and I'm seeking to separate two words and save them in 2 columns. say the original cell array is tags...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How do I use power_fftscope for batch mode?
The steps are as follow.If you have ScopeData in your workspace as "ScopeData3" % Exporting signal data to fftscope FF...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
passing strings to a function to call commands
I figured it out for a certain extent. function logdata2=(A) % logvar={'Vdc','I_L'}; % pass this to the ...

fast 10 Jahre vor | 0

Frage


passing strings to a function to call commands
I'd like to create a function to automate the passing variable names to statement. I tried to create a function to achieve it u...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden