photo

Aquatris


Last seen: Today 2023 年からアクティブ

Followers: 0   Following: 0

統計

All
  • Knowledgeable Level 4
  • Community Group Solver
  • 3 Month Streak
  • Solver
  • First Answer

バッジを表示

Feeds

表示方法

回答済み
how to get the name of current running m script
mfilename() function seems to be what you are looking for.

約11時間 前 | 0

| 採用済み

解決済み


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

6日 前

解決済み


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

15日 前

解決済み


Return area of square
Side of square=input=a Area=output=b

15日 前

解決済み


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

15日 前

回答済み
Class property validator reports an error if no default value is set
You can write your own validation function classdef MyClass properties hWriteFunc(1,1) {mustBeFunctionHandle} = @...

約1ヶ月 前 | 2

回答済み
contour diagram with three vectors
Here is one way: x = linspace(0,4,10); % x coordinate y = linspace(0,8,10); %^y coordinate [X,Y] = meshgrid(x,y); % meshgri...

約1ヶ月 前 | 0

| 採用済み

回答済み
Reset value of Ramp block to be used in Matlab Fctn block
Seems like this was a homework problem :D Take a look here:

約1ヶ月 前 | 0

回答済み
Ramp block having reset option
Here is one way with enabled subsystem, where the subsystem comes up with an offset (so if the ramp number gets too large it mig...

約1ヶ月 前 | 0

回答済み
Constant estimation from 2 noisy measurements
@Viktor Cockx, A bit late but here is an example for a mass spring damper system, where I am trying to estimate the mass, spring...

約1ヶ月 前 | 0

解決済み


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

約1ヶ月 前

回答済み
What does this section mean?
Probably the integral reset functionality. So when you disable and enable the controller, the integral term will reset to 0 to p...

約1ヶ月 前 | 3

| 採用済み

回答済み
Creating a block for a term like (4s+1) in simulink?
I suggest you try to understand why 4*s+1 cannot be simulated. Although there are workarounds. hint: what does s do to a time do...

約1ヶ月 前 | 0

| 採用済み

回答済み
Find a value using an index obtained from a different matrix with same dimensions
Something like this maybe: %% your matrices val = load('Total_matrix_cases.txt'); x = load('Total_matrix_rotations.txt'); ...

約1ヶ月 前 | 1

| 採用済み

回答済み
Higher order Hungarian algorithm?
Somthing like this maybe; a=[ 4 5 2]; b=[-8 -13 3]; c=[ 4 7 -9 11]; thresholdValue = 2; [A,B,C] = meshgrid(a,b,c);...

約1ヶ月 前 | 0

回答済み
Ive completed code for an assignment but receive strange answers any help?
You are getting NaN because your s1 is equal to s2: s1=-wnN*zetaN-wdN*i s2=-wnN*zetaN-wdN*i where you forgot the ...+wdN*i fo...

約1ヶ月 前 | 0

| 採用済み

回答済み
How to create this equation in simulink?
you can use 'delay' block to make the u(t) = u(t-1) part of the equation. you can use another 'delay' block to make the e(t) = ...

約1ヶ月 前 | 0

回答済み
Formating a structs value
Something like this maybe: syms v1 v2 ; symbols = [v1;v2]; equations = [3/125 - v1/500 == v1*(0.0005 - 0.0001i) - 0.0005*v2 ...

約1ヶ月 前 | 0

| 採用済み

回答済み
What is End of life and End of support for MATLAB version R2018a ?
Checkout the answer here. To quote the staff response "The end of life (EOL) for MATLAB releases depends on the date when Math...

約2ヶ月 前 | 0

回答済み
How to change the parameter value at run time in Matlab Simulink
I think what you are looking for is the dashboard, link here. It provides an interactive interface with a running model.

約2ヶ月 前 | 0

回答済み
How do determine the maximum and minimum point form origin on a contour graph
Not sure exactly what you want but contour function can give you interpolated x-y positions for a specific level. From there you...

約2ヶ月 前 | 0

| 採用済み

解決済み


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

約2ヶ月 前

解決済み


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

約2ヶ月 前

解決済み


Create a vector
Create a vector from 0 to n by intervals of 2.

約2ヶ月 前

解決済み


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

約2ヶ月 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

約2ヶ月 前

解決済み


Find max
Find the maximum value of a given vector or matrix.

約2ヶ月 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

約2ヶ月 前

解決済み


Inner product of two vectors
Find the inner product of two vectors.

約2ヶ月 前

解決済み


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

約2ヶ月 前

さらに読み込む