Community Profile

##### Last seen: 5 days ago
4,604 total contributions since 2018

Communication through MATLAB is always better than arguing.

View details...

Contributions in
View by

This is my attempt to generate and plot this signal .. which one of these is right? .. please help
A = 3; [B, C] = deal(4); u = @(t) t >= 3 + 0.5 * A; u1 = @(t) t >= 3 - 0.5 * A; u2 = @(t) t >= C + 0.5 * B; u3 = @(t) t >= ...

8 days ago | 1

| accepted

Saving a Matrix as an Image and then extracting same matrix from Image.
SMAG = im2double(b) %

14 days ago | 0

| accepted

How to find the mean of 12 different 3-D arrays containing nan so that I can omitnan in the final calculations?
Use mean() with "Omitnan" flag help mean

14 days ago | 0

| accepted

https://www.mathworks.com/help/matlab/ref/fft.html a good starting point

23 days ago | 0

theory parts from the documentation -usage
The volunteers here are there to contribute to questions related to coding. For legal questions you would be better off to conta...

28 days ago | 0

Question

Is there a way to viewmark as images?
Any possible way to extract viewmarks from Simulink as images?

1 month ago | 0 answers | 0

### 0

Moving specific .mat files to a new folder
help movefile

2 months ago | 0

Data Plotting in a Single Figure
U = setdiff(10 : 10: 100, 80 : 10 : 90); V = 1e2 : 50 : 450; X = sort(randi(400, size(U))); Y = sort(randi(98, size(U))) .*...

2 months ago | 0

| accepted

how to sum a result with multiple values

2 months ago | 1

| accepted

How to use Solver?
Use vpasolve()

2 months ago | 0

| accepted

Index a Matrix that gets smaller
for ind = size(RAW): -1 : 2

2 months ago | 0

| accepted

Error on my matrix
t_pn = (im2double(t) + p.' / 2) / 2;

2 months ago | 0

i have an Error using ^
Change * to .* in all the places.

2 months ago | 0

| accepted

Save a double array to a text file

2 months ago | 0

problem in solving matrix
I = A \ V

2 months ago | 0

Can't solve for x with (a = y/x)
syms y a x eqn = a == y/x; s = solve(eqn, x)

3 months ago | 0

solving symbolic array to output a numerical solution
struct2array(Ma3)

3 months ago | 0

removing rows from a timetable
load combined_observed_vs_sim_timetable combined_data(1 : 12, :) = [ ]

3 months ago | 0

Array indices must be positive integers or logical values.
ii = 0.01:0.02:0.99; w1_temp= ii; w2_temp= 1-ii; Rp_temp= w1_temp*mean(R_2(:,1))+w2_temp*mean(R_2(:,2)); ...

3 months ago | 0

Why does contains(var1, var2) find matches in two different string arrays?
ch_names = {'FP1','FPz','FP2','AF7','AF3','AF4','AF8','F7','F5','F3',... 'F1','Fz','F2','F4','F6','F8','FT7','FC5','FC1...

3 months ago | 0

| accepted

Save variable of workspace in another folder
save('C:\Users\Desktop\folder\POWER.mat', 'POWER')

4 months ago | 2

| accepted

Non-functioning function
if length(N) > 1

4 months ago | 0

| accepted

How do I save filenames in a for loop for later access?
C = cell(nnz(~fn(k).isdir), 1); % before loop function C = filnamn(katalog) % displays the names of all files in given diretor...

4 months ago | 0

| accepted

a vector of hours
hours(0 : 23)

4 months ago | 0

Why do I get the error "Unrecognized function or variable" with this
I don't know why you deleted your question and changed your name. 1) Why do you name a variable as the same name of a FUNCTION....

4 months ago | 0

| accepted

Integral2 Error message
F = @(x,y) x./y + y./x q = integral2(F,1,2,1,4)

4 months ago | 0

| accepted

How do I indicate phase changes on my velocity versus time plot on MATLAB?
t = [1.85 2.87 3.78 4.65 5.5 6.32 7.14 7.96 8.79 9.69]; d = 10: 10 : 100; v = gradient(d) ./ gradient(t); figure(1) dvdt = g...

4 months ago | 0

Error with plotting a function
K = 10; r = .1; t = 0:1:100; solution1 = @(t,y) K .^ (1 - (exp(-t*r))); plot(t,(K.^(1 - (exp(t*r*-1)))), '-b');

4 months ago | 0

| accepted

Specify the y value where the graph should start
%Variabler A_sveip = 2.27; luft_tett = 1.225; %Virkningsgrad v_0k5 = [0:0.5:30.5]; P_0k5 = [0 0 0 0 0 20 30 50 70 95 120 ...

4 months ago | 0

| accepted