Ronny Landsverk
University of Agder
Followers: 0 Following: 0
統計
All
Feeds
質問
Does different MATLAB versions handle array arithmetic differently ?
In a previous project I did something like x = randn(N,3); % N > 1 x = x - [x,y,z]; % remove "bias", x,y,z are scal...
6年以上 前 | 1 件の回答 | 0
1
回答解決済み
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
7年弱 前
解決済み
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. Examp...
7年弱 前
解決済み
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
7年弱 前
解決済み
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...
7年弱 前
解決済み
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
7年弱 前
解決済み
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 ...
7年弱 前
解決済み
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...
7年弱 前
解決済み
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 ...
7年弱 前
解決済み
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...
7年弱 前
解決済み
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
7年弱 前
質問
Can we list all possible values for a property of a MATLAB object without going via help/doc ?
To be clear, I will be specific, but the question is for the general case (the more general, the better) Consider that yo...
8年弱 前 | 1 件の回答 | 1
1
回答質問
Anybody know a work-around for plotting multiple-input anonomous functions with fplot ?
Hi. Sometimes I like to have anonymous functions that can take multiple inputs but not necessarily be multivariable. For a triv...
約8年 前 | 1 件の回答 | 0
1
回答質問
Why is the returning frequency range and scale range inconsistent using CWTFT?
I have a signal with a sampling period dt. The scale-vs-frequency relation for wavelets is approximately sc = fc/(f*dt), where ...
約8年 前 | 1 件の回答 | 2
1
回答質問
Trouble using ezplot and matlabFunction on a symbolic function defined using symengine "piecewise"
syms x t; MP_syntax1 = 'piecewise([x <= 10, x/10], [10 < x <= 30, (30 - x)/20])'; MP_syntax2 = 'ilaplace(2/s^3,s,t)'; f(x...
9年以上 前 | 1 件の回答 | 0
1
回答回答済み
Using symbolic Matlab-output from functions 'abs' and 'angle' as input for the 'solve'-function
I found a solution. clear; clc; J = 152e-6; % moment of inertia W = 200*pi; % desired crossover freq K = 0.1; % tor...
Using symbolic Matlab-output from functions 'abs' and 'angle' as input for the 'solve'-function
I found a solution. clear; clc; J = 152e-6; % moment of inertia W = 200*pi; % desired crossover freq K = 0.1; % tor...
10年弱 前 | 0
質問
Using symbolic Matlab-output from functions 'abs' and 'angle' as input for the 'solve'-function
clear; clc; J = 152e-6; % moment of inertia W = 200*pi; % desired crossover freq K = 0.1; % torque constant syms Ki ...
10年弱 前 | 1 件の回答 | 0