Question


String scalar or character vector must have valid interpreter syntax.
I want to add: ylabel('$\mid H(f) \mid$ (kg{s^{-1}}/kg{s^{-1}})', 'interpreter', 'latex'); Where I want the first part ins...

mer än 4 år ago | 1 answer | 0

1

answer

Question


reinforcement learning toolbox ---fail to train stores saved agents in a MAT-file in the folder
%% Train Agent doTraining = false; if doTraining % Train the agent trainingStats = train(agent,env,trainOpts);...

mer än 4 år ago | 1 answer | 0

1

answer

Question


String scalar or character vector must have valid interpreter syntax.
I want to add: ylabel('$\midH(f)\mid$ (deg/m)', 'interpreter', 'latex') error: String scalar or character vector must have va...

mer än 4 år ago | 3 answers | 0

3

answers

Question


Cannot plot iterations.
I'm trying to plot iterations but it doesn't seem to be working. The figure pops up but no points do. This is confusing because...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to find settling time?
Hello I want to be able to find the time taken (number of frames) for each of the peaks to reach the new stabilising value in ...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to locate significant points in a graph?
Hi So I've plotted a graph of two variables from a 118000x2 matrix: Frames and Conductivity. I've attached a picture of the gra...

mer än 4 år ago | 1 answer | 0

1

answer

Question


4d plotting with slices
Hello :) I have 4d data (x y z coordinates and and V). I am hoping to represent the data similar to the slice function approa...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


Plot 4d data
hi :) how can one import an excel sheet with x, y, z and V columns as a 3d matrix? I am trying to plot the V values over a co or...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


Trouble with MATLAB Triple Integral
I'm attempting to evaluate this integral (and equation) where 'a' and 'x' are just inputs, and x' is (x,y,z). also: x will hav...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


Beginner MATLAB question (I just started using matlab a week ago)
Please help give the function to solve this. Thank you

mer än 5 år ago | 1 answer | 0

1

answer

Answered
Dummy Variable ased on categorical vars in table
Thanks!! Now I tried Data.DV = zeros(27,1) for x = 1:27 if strcmp(Data(x).BS, 'Total assets') Data.DV(x) =1; ...

nästan 6 år ago | 0

Question


Dummy Variable ased on categorical vars in table
hi everyone! I'm tying to create a dummy variable in a table based on two categorical variables. My table contains numerical a...

nästan 6 år ago | 3 answers | 0

3

answers

Answered
Needed frequency analysis of 3D Plot obtained from Manometry of Human colon using wavelet analysis.
One approach for this problem would be split the data into two components, i.e. sensor position as a function of time and amplit...

ungefär 6 år ago | 0

Question


I have code which calculates the electric potential due a single charge. The results are concentric circles (Correct results) but don't match the theoretical data
Here is the code clear all; close all; clc; Nx = 11; %% Dimension of x axis Ny = 11; %% Dimension of x axis eps0 = 8.85e-12...

mer än 6 år ago | 1 answer | 0

1

answer

Question


Lock scroll position when continuous uitable updates
Hi, I have a uitable that has a live data subscription that is being refreshed every x seconds. However, if you are scrollin...

mer än 6 år ago | 1 answer | 0

1

answer

Question


Nested Tables and UI Tables. Using GUIDE UI figure.
Hi, I want to have an interactive figure with a ui table in it. However, I want to display the table such that: * Outer table...

mer än 6 år ago | 1 answer | 0

1

answer

Answered
Wavelet Webinar, example mistake!!!
This topic has been addressed here: https://www.mathworks.com/matlabcentral/fileexchange/59924-wavelet-tech-talks-matlab-cod...

mer än 6 år ago | 0

Question


how can I remove the background this image , I do thresholding but I can't remove the background( I want only the dark object and determine their location) ?
<< <</matlabcentral/answers/uploaded_files/107126/bio1.jpg>> >>

mer än 6 år ago | 1 answer | 0

1

answer

Question


Subscript Indices must either be real positive intergers or logicals - not sure where i'm going wrong.
I am trying to call the RK4 function below in order to find the second initial value for my main function. However it gets stuck...

mer än 6 år ago | 1 answer | 0

1

answer

Question


What is a simple code for the chapman cycle involving only hydrogen and oxygen.This code should produce a curve but it only produces straight lines?
function Chapman_cycle y0= [2e17 1e-6 5e12]; tspan=[0 100]; %tspan=[0,1.0e-5,1.0e-3,0.1,0.5,1,2,4,6,8,10,20,30,40,50,...

mer än 6 år ago | 1 answer | 0

1

answer

Question


Hello can someone show me a simple code to show the earths orbit around the sun using ordinary differential equations.
function Earthsorbit e=2; y0=[1 2*pi 0 -pi]; tspan=[0, 10]; options = odeset('RelTol',1e-4,'AbsTol',1e-4); ...

mer än 6 år ago | 2 answers | 0

2

answers

Question


GARCH: exogenous terms in ARMA and Conditional Variance equations
Hi, Is there a way, using the Matlab libraries, to include exogenous regressors in the conditional mean and conditional vari...

nästan 7 år ago | 1 answer | 0

1

answer

Question


How do I count how many iterations my root is in a smaller interval?
In my code I need to display in the command line how many of the iterations my root was in the smaller interval. I am not entire...

nästan 7 år ago | 1 answer | 0

1

answer

Question


How do I display individual values from an if statement in a messgae?
Ok bear with me. I am trying to write a script that gives the root to a function using the bisection method. However it is no...

nästan 7 år ago | 1 answer | 0

1

answer

Question


Script to download xml files from a website
I would like to write a script that download xml files from https://www.treasurydirect.gov/xml/ with the file name that s...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Creating a matrix where the entry in the second column is (weakly) less than the entry in the first column
Hello, I would like to create a matrix where the entry in the second column is less than the entry in the first column: ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


How to include the integral of a certain function in another .m file function?
I have fun1.m file that I want to include in it the integral of cos(x) provided that the integral of cos(x) has to be in a dif...

nästan 8 år ago | 1 answer | 0

1

answer

Question


How to resolve a bug about the tall of the matlab editor
Hello, I have an issue when I launch a Matlab program: The tall of the editor is decreased at the maximum, and it takes time...

nästan 8 år ago | 1 answer | 0

1

answer

Question


For Loop Not Executing
Hi all! Consider the following example: h=(2/1000); for i=8*h+h:h:9*h i end i = 0.0180 And sim...

ungefär 8 år ago | 2 answers | 0

2

answers

Question


fmincon - error message "Row dimension of Aeq is inconsistent with length of beq."?
Hello , I am trying to use the fmincon but am constantly getting the following error message.What do you suggest me to change...

mer än 8 år ago | 1 answer | 0

1

answer

Load more