Gelöst


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

mehr als ein Jahr vor

Gelöst


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

mehr als ein Jahr vor

Gelöst


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

mehr als ein Jahr vor

Gelöst


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

mehr als ein Jahr vor

Beantwortet
Undefined function 'isnan' for input arguments of type 'Nodes2'
For reference, a related question that shows more of the actual classes in question: https://www.mathworks.com/matlabcentral/ans...

mehr als ein Jahr vor | 1

Beantwortet
appdesigner, choosing from dropdown different functions
I suspect your problem is that your conditional is flawed. To test, put in an "else" to check if your conditional is not being m...

mehr als ein Jahr vor | 0

| akzeptiert

Gelöst


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

mehr als ein Jahr vor

Gelöst


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

mehr als ein Jahr vor

Beantwortet
Shift a curve in logarithmic scale
shifting in log scale is actually a multiplication, not an addition - is that what you need?

mehr als ein Jahr vor | 0

| akzeptiert

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Beantwortet
How to trasform from cell to matrix and transpose from horizontal to vertical at the same time?
Just change your cat dimension to 1, then transpose later. Data.my_cell = {rand(1,101);rand(1,101);rand(1,101)} m = cat(1,Data...

mehr als ein Jahr vor | 1

Beantwortet
Can I change my UIFigure size while maintaining location of elements in figure?
I think you may be able to achieve what you want using the uigridlayout, see if this example works on 2019b (I'm on 2022a). The...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Heatmap is too Thin in Figure
imshow() asserts 1:1 aspect ratio to show the image, so you can manually change the axes Position property after setting DataAsp...

mehr als ein Jahr vor | 0

Beantwortet
Implementing Crank Nicholson in spherical setting
I believe this should be the right formulation for CN (taking a few liberties interpreting your problem). If you want speed, pr...

etwa 2 Jahre vor | 2

Beantwortet
Implementing Crank Nicholson in spherical setting
For one thing, your boundary conditions (as developed on your pdf) don't look right. At r=0, you can just directly use Eq 8 LHS...

etwa 2 Jahre vor | 1

Frage


Built in look-up style interpolation of timetables for non-numeric data?
Is there no built-in function similar to interp1 for numeric data, that can operate on timetables with arbitrary data types? So...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
For loop to carry value down depending on another matrix value
In your example, there is a "delay" by 1 row when your switch from 0 to -1 occurs, so the following answer is not exactly produc...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
There used to be a function RefineMesh in Matlab used in solving ODE's, but it is now used for PDE's and isn't the same function. Is there a new function for the old purpose?
The workflow above only re-evaluates the "static" solution of ode45 at more data points by an interpolation scheme consistent wi...

mehr als 2 Jahre vor | 0

Beantwortet
Is there a way to measure interletter spacing for Fixed Width font in MATLAB?
I have no idea what you mean by "visual angle per font size", but I know of one way: lbl = uicontrol("Style","text","String","...

mehr als 2 Jahre vor | 0

Beantwortet
Functional programming construct to expand cell array into arguments for other functions without using an intermediate variable in the (user) code?
I am still not sure why you can't just have your generalized comparator function saved as a function somewhere on your path so y...

mehr als 2 Jahre vor | 1

Mehr laden