Rashmil Dahanayake
University of New South Wales
2013년부터 활동
Followers: 0 Following: 0
Professional Interests: Power Converters
Feeds
답변 있음
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') ...
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') ...
대략 10년 전 | 1
| 수락됨
답변 있음
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...
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...
대략 10년 전 | 1
질문
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...
대략 10년 전 | 답변 수: 4 | 1
4
답변질문
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 -> ...
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
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...
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...
대략 10년 전 | 0
질문
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...
대략 10년 전 | 답변 수: 1 | 1
1
답변질문
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...
대략 10년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 10년 전 | 답변 수: 1 | 3
1
답변답변 있음
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...
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...
대략 10년 전 | 0
질문
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]; % ...
대략 10년 전 | 답변 수: 3 | 0
3
답변답변 있음
parallel execution of system command
This can be achieved by invoking the command "start" system('start myprog1'); system('start myprog2');
parallel execution of system command
This can be achieved by invoking the command "start" system('start myprog1'); system('start myprog2');
대략 10년 전 | 0
| 수락됨
질문
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...
대략 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
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')
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')
10년 초과 전 | 0
질문
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) ...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Access SIMULINK simulation time while it runs.
use <http://www.mathworks.com.au/help/simulink/slref/clock.html clock> block
Access SIMULINK simulation time while it runs.
use <http://www.mathworks.com.au/help/simulink/slref/clock.html clock> block
10년 초과 전 | 0
| 수락됨
답변 있음
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 ...
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 ...
10년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...
10년 초과 전
문제를 풀었습니다
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:...
10년 초과 전
문제를 풀었습니다
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
10년 초과 전
문제를 풀었습니다
Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...
10년 초과 전
답변 있음
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)
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)
10년 초과 전 | 2
답변 있음
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...
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...
10년 초과 전 | 0
| 수락됨
답변 있음
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
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
10년 초과 전 | 0
답변 있음
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...
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...
10년 초과 전 | 0