Solved


y equals x divided by 2
function y = x/2

5 years ago

Solved


Number Puzzles - 006

5 years ago

Solved


Draw Letter 'L'

5 years ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

5 years ago

Solved


let y be the inverse of x

5 years ago

Answered
Matrix and Averaging problems
V = rand(180,1); step1 = reshape(V, [15 12]); step2 = mean(step1); step3 = step1 - step2;

5 years ago | 0

| accepted

Answered
scatter plot (need matlab script)
x=[2.6498, 5.4147, 7.7189, 7.9493, 7.2581, 47.5806, 44.1244, 78.4562, 73.3871, 74.3088, 91.8203, 96.659, 95.9677, 36.9816, 35.13...

5 years ago | 1

| accepted

Answered
Matrix Fill with same number sequence
repelem(20:30,6,1)

5 years ago | 0

Answered
How can I remove the straight line?
The data of A(:,1) has a "value jump" in the middle as shown in the figure below. Therefore, if you plot the curve of A(:,2), ...

5 years ago | 0

Answered
Can I make the plot skip jumps in data?
Similar Q&A: Matlab: discontinuous plot - Stack Overflow The idea is replacing discontinus part by NaN values. x = 1:0.1:pi*10...

5 years ago | 0

| accepted

Answered
what does mean out.simout
>what does mean out.simout It means that variable "simout" is a member of variable "out". >why it show 'out.simout' Please c...

5 years ago | 14

| accepted

Answered
Algorithm that identifies the number of time steps in which a matrix has certain values?
load('time.mat'); load('ODv.mat'); thr = -20; % for this ODv.mat only thr2 = 2; % for this ODv.mat only peaks = ODv(1:end-2)...

5 years ago | 0

| accepted

Answered
conditional 'if else' statementS
Similar Q&A: If statement using vectors - MATLAB Answers - MATLAB Central (mathworks.com) I should say NO for this question. Bu...

5 years ago | 0

Answered
how to plot this function
t = -3:2; plot(t, x(t))

5 years ago | 0

Answered
Problem with something that I do not understand
Now, frhs is a function with one argument H, so you can call the function like, >> frhs=@(H) -0.6*((0.01*(sqrt(19.62*H)))/(((6*...

5 years ago | 0

| accepted

Answered
合計値の求め方について
こういう事でしょうか。モデルも添付しました。

5 years ago | 1

| accepted

Answered
Inputting values into a vector using an if statement
I think this is what you would like to do. % for i=1:length(atmp) % if atmp(i)>25 % r=.15-(atmp(i)-25).*0.0038; ...

5 years ago | 0

Answered
Hi, I want to write a code that locates the nth value of matrix x= [2,4,6,8,10,12,14,16,18,20] where n is [1:10]. How could I write that?
>> x= [2,4,6,8,10,12,14,16,18,20]; >> x(1:10) ans = 2 4 6 8 10 12 14 16 18 20 >> n=[1:10]...

5 years ago | 0

| accepted

Answered
My plot comes up as a white graph with no line.
After exexuting your script, y is like [1 0 0 0 0 0.9 0 0 0 0 1 ....] it must be different from what you expected. After execut...

5 years ago | 0

Answered
How to add columns to the logical matrix after every 1 and 0?
It is not direct answer to your question, but you can do that by repelem function. STFTlogic = repelem(STFTlogic,1,100);

5 years ago | 0

| accepted

Answered
Index in position 1 exceeds array bounds (must not exceed 1).
You should remove "=" between "fprintf" and "('you***". Your code includes: fprintf=('you dont need to interporation\n'); so,...

5 years ago | 0

Solved


Laws of motion 6

5 years ago

Solved


Laws of motion 5

5 years ago

Solved


Laws of motion 4

5 years ago

Solved


Laws of motion 3

5 years ago

Solved


Total energy

5 years ago

Solved


Potential energy calculation

5 years ago

Solved


Kinetic energy calculation

5 years ago

Solved


Laws of motion 2

5 years ago

Solved


Laws of motion 1

5 years ago

Load more