Respondida
How to code for Barchart and mean in matlab
cd ~/home/mluser/siddharthsatish/'Downloads' % Watch where apostrophe signs ' ' are placed

alrededor de 5 años hace | 0

Respondida
How to calculate the mean of a subset of the full dataset?
Use mean(), e.g: mean(A, 1) % Columnwise mean(A, 2) % Rowwise

alrededor de 5 años hace | 0

| aceptada

Respondida
Include value requirement in array multiplication
... N = size(cA, 1); for ii=1:N if cA>1e-4 & cB>1e-4 dS(ii,:)=k1*cA(ii,:).*cB(ii,:)*dt; else dS(ii,:) = 0; end end %%...

alrededor de 5 años hace | 0

Respondida
How to code for Barchart and mean in matlab
Ok. Well Mac has a different syntax for directory specs. In that case, you can change the directory and then load the data file...

alrededor de 5 años hace | 0

Respondida
Include value requirement in array multiplication
for ii=1:N if cA>1e-4 & cB>1e-4 dS=k1*cA(i+1,:).*cB(i+1,:)*dt; else dS = 0; end end

alrededor de 5 años hace | 0

Respondida
How to repeat previous steps from the output
Here is a simple optimization problem from MATLAB help documentation taken as an example to solve within a loop iteration. x = ...

alrededor de 5 años hace | 0

| aceptada

Respondida
How do I select multiple excel files and horizontally concatenate columns A:B from each and write to a master.xlsx?
It is better use this syntax that is quite straightforward since you are using xlsread, e.g: DALL = []; for ii = 1:numel(files...

alrededor de 5 años hace | 0

Respondida
How to code for Barchart and mean in matlab
load('C:\Users\siddharthsatish\Downloads\LabelTable.mat') % Fix directory: C:\ or D:\

alrededor de 5 años hace | 0

Respondida
How to code for Barchart and mean in matlab
Error in your command syntax: load('/Users/ameliachang/Downloads/LabelTable.mat') % one ) has to be removed.

alrededor de 5 años hace | 0

Respondida
to run simulink model from script and save data to workspace after each simulation and then repeat for 256 times.
In this exercise, you had better employ sim() to run your Simulink model from MATLAB environment. To achieve your goal of collec...

alrededor de 5 años hace | 0

Respondida
Plotting Wind Vectors at Various Atmospheric Pressure Levels...
You habe the size related issues in your code: X = linspace(-180,180, 360); % Size problem fixed Y = linspace(-90,90, 180)...

alrededor de 5 años hace | 0

Respondida
How do I make a bubble(s) with different size matrices
Solution is bubblechart3() x = 1:360; y =linspace(1,180,360); % Size of y has to macth with the one of x z = randi(...

alrededor de 5 años hace | 0

Respondida
How to find mean square error of two videos , one with noise pls respond with answer ASAP
You can try: err = immse(X,Y)

alrededor de 5 años hace | 0

Respondida
How to code for Barchart and mean in matlab
Simply to use bar(): DD = readtable('Data extracted- Lab.xls'); DD = readtable('Data extracted- Lab.xls'); Mean_A =DD.AudioSt...

alrededor de 5 años hace | 0

| aceptada

Respondida
Variable time series data
(1) Import the data into matlab using textscan() or fscanf() or best readtable() %% Set up the Import Options and import the da...

alrededor de 5 años hace | 0

| aceptada

Respondida
second order differential systems of a non linear ODE
Small typo err in your code: xmesh = linspace(0,1,10); sol = bvpinit(xmesh, @iguess); sol = bvp5c(@odefcn,@bcfcn,sol,bvpset('...

alrededor de 5 años hace | 0

Resuelto


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

alrededor de 5 años hace

Resuelto


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

alrededor de 5 años hace

Resuelto


(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...

alrededor de 5 años hace

Resuelto


How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

alrededor de 5 años hace

Resuelto


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

alrededor de 5 años hace

Resuelto


Back to basics 19 - character types
Covering some basic topics I haven't seen elsewhere on Cody. Return the number of punctuation characters in the input variabl...

alrededor de 5 años hace

Resuelto


Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

alrededor de 5 años hace

Resuelto


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

alrededor de 5 años hace

Resuelto


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

alrededor de 5 años hace

Resuelto


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

alrededor de 5 años hace

Resuelto


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

alrededor de 5 años hace

Resuelto


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

alrededor de 5 años hace

Resuelto


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

alrededor de 5 años hace

Respondida
How to extract obstacles from an occupancy grid map
Apply imdilate() fcn to your image map: https://www.mathworks.com/help/images/ref/imdilate.html Distance calcs: https://www.m...

alrededor de 5 años hace | 0

Cargar más