질문


cvhtml help
Hello. I’m having a little issue with getting my coverage data to display to an html document correctly. We dynamically write an...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Set Simulink model simulation stop time from m file
I want to set my models simulation stop time from an m file, but I'm a little confused about how to go about it. When I'd get th...

거의 12년 전 | 답변 수: 2 | 3

2

답변

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Justify the character string in center with proportional fonts
how to justify a string of character into center with proportional fonts? Example: x='justify string ' output is ' justif...

거의 12년 전

질문


MatLab - de-char a char
You read that right, this is probably the oddest question that I ever asked, but I just want to know if I can de-char a char. I ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Reset Simulink model from m file
I need to reset a model within an m-file. I know using : set_param(model, 'SimulationCommand', 'start') set_param(model, 'Simu...

거의 12년 전 | 답변 수: 1 | 1

1

답변

질문


engEvalString like function you can use from within a MatLab M file?
I was wondering if there was a wrapper or a function like engEvalString that I could call from inside an M file. Currently we ar...

거의 12년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

거의 12년 전

질문


engEvalString source code, Matlab
Hello, I'm looking for the source code for the engEvalString function in matlab. I need to see what this functions doing and pos...

거의 12년 전 | 답변 수: 1 | 1

1

답변

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

거의 12년 전

질문


Setting Simulink model inports using sim() commands
I've been doing a lot of research over the last few hours and I can't seem to figure out how to get and set a value to an Inport...

거의 12년 전 | 답변 수: 1 | 1

1

답변

질문


Get and set Simulink model data from Matlab?
I have a simple model with 1 input and output. The input it directly linked to the output. I was wondering if there was any way ...

거의 12년 전 | 답변 수: 1 | 1

1

답변

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

질문


String parsing with a delimiter
Hello, I’m having a little problem parsing a string using a delimiter. It leave the delimiter attached to my string. Here’s my c...

거의 12년 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


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

거의 12년 전