photo

Paul


Last seen: 거의 2년 전 2012년부터 활동

Followers: 0   Following: 0

메시지

Professional Interests: Control Engineering

통계학

All
  • 3 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

질문


Code Coverage class not reaching full statement
Hi. I am working with the code coverage plugin class for unit testing. It seems that the tool doesn't always work, especcially...

대략 2년 전 | 답변 수: 0 | 0

0

답변

질문


Creating interactive Libraries for App Designer
Hi, I would like to create a custom toolbox at work that allows users to interactively program sequences in a GUI with a set of...

대략 2년 전 | 답변 수: 0 | 0

0

답변

질문


Working with Apps and classes
Hi, I have recently discovered the Matlab APP and love it. However I'm not very good at Object Orientated Programming (OOP) y...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Matlab Startup and insilsation
Hi I’m trying to find a way of starting up a script when Matlab opens but after initialisation. I’m trying to run a script that...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Editing Arrays of Matlab Structures
I'm trying to understand how to delete a vector of a structure. For example if i create the following structure with this cod...

대략 10년 전 | 답변 수: 1 | 1

1

답변

질문


Querying if a model contains a block with a value
Hi I'm adapting some code for error checking of blocks in my model. I would like to know if a block exists inside my model wi...

대략 10년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

10년 초과 전

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

10년 초과 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

10년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

10년 초과 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

10년 초과 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

10년 초과 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

10년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

10년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

10년 초과 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

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년 초과 전

질문


UDP Streaming Post Processing
Hi I have been following this tutorial and I wonder if anyone could explain the theory around the post processing as I don't see...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Parameter tuning in Xpc target
Hi, I've recently been working on Prototyping on Target machines I'm looking for advice or at least a point towards a best...

10년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
Is it posssible to convert matlab code into simulink block?
Simply yes <http://www.mathworks.co.uk/help/simulink/ug/tutorial-creating-a-custom-block.html> I'm guessing you just want ...

10년 초과 전 | 0

질문


C code to S function multi input multi output block using legacy code
Hi I'm trying to create a multi input to multi output, S function in simulink using the legacy code tool. I am attempting to ...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


C code---> sfunction --> Xpc Target with legacy_code
Hi I'm trying to use the legacy code tool to create a s function from C code, that then can be loaded onto a target machi...

10년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
C code to S function tutorials
Thanks guys I used the example to create an s function but then attempted to use the model wizard to compile the simulink mo...

10년 초과 전 | 0

질문


C code to S function tutorials
Hi does anyone have any good tutorial examples that i can use to get to grips with using the legacy code toolbox ? I have som...

10년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Find the voltage from a PWM signal
I want to use Simulink to calculate the Average voltage from a PWM Signal. Although I'm not entirely sure how should do it so i...

10년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
What is wrong with this matlab program?
The Line sum((Cshort)'.*con_mat,2) is what is causing your error. Matlab uses matrix multiplication these matrices ar...

10년 초과 전 | 0

| 수락됨

답변 있음
Please help me with this program as I am not getting the output?
You have completely undefined your variables, lots are missing such as "Vd","u" and "I" I have updated your code to give fina...

10년 초과 전 | 0

답변 있음
how can i use multiple expression values in If-then
function[r]=direction(bearing) if bearing == 0 | | bearing==360 r= 0; fprintf('North\n') elseif bearing== 9...

10년 초과 전 | 0

답변 있음
Writing an array to a file
I would suggest saving each array inside an overall structure and then saving it. for example x=[1,2,3,4,5,6,7,8,9]; ...

10년 초과 전 | 0

답변 있음
Simulink Block execution information problem
I'm sorry I'm confused by your question could you explain what you want to do ?

10년 초과 전 | 0

더 보기