A répondu
Simple question how do I adjust the for loop to go through the rows of the excel matrix one by one. Milesdriven adds the columns 2:11 of the first row, i want the calculation to be done for the next 54 rows as well.
filename = 'project3data.xlsx'; num = xlsread('project3data.xlsx'); for i = 1:55 for j =2:11 milesdriven = sum(n...

plus de 7 ans il y a | 0

A répondu
I have a mistake in my loop.
function Opdrachtc clear; clc; fontSize = 15; vv=MDealer v=length(MDealer); for kk=1:v ...

plus de 7 ans il y a | 0

| A accepté

A répondu
Too many output arguments.Why i am getting this issue
I m not sure exactly but check this code I think you might some thing you initalize to sum the variables then store it again ...

plus de 7 ans il y a | 0

A répondu
Calculate shortest distance between 2 lines.
Data must be numeric, datetime, duration or an array convertible to double. instead of syms t you should have some thing like...

plus de 7 ans il y a | 0

A répondu
Parachute Simulation using ODE45
You will have to construct the model you trying to solve ode45 is used to solve differential equation . You will have to f...

plus de 7 ans il y a | 0

A répondu
hi everyone, what is meaning of this part of program?(CAN YOU WRİTE ANY COMMENT(S))
global nfile Qamp_mv Ramp_mv Samp_mv Tamp_mv P_1 Pamp_mv A flag c % Define global variables. if flag==4 % Condition i...

plus de 7 ans il y a | 0

A répondu
Two-Point Boundary Value Problem
You will have to differneitate then solve Since x'=A(x/t)+By --- differnetiate A(x/t)+By for y relative to t Y'...

plus de 7 ans il y a | 0

A répondu
• Given a three-phase power system with a medium-length transmission line, calculate the sending-end voltage and current by hand and by using Matlab code.
You will have to add more details from the problem like for example S value how did you arrive to Ir values to convert This...

plus de 7 ans il y a | 0

A répondu
This is a code to solve simultaneous equations as lines how can I make it shorter?maybe defining it as a function?
you could shorten it with many ways others also might be able to provide also different options my answer is you could use a...

plus de 7 ans il y a | 0

A répondu
How to create a circle with a gradient inside
...'Color', [1 4 1].. instead of using color white find the the rgb equivalent and use the option above with insertShape ...

plus de 7 ans il y a | 0

A répondu
How to solve differential equations in matrices and get answers in matrices?
<https://www.mathworks.com/help/matlab/math/choose-an-ode-solver.html> First you will have to find the model of the system you t...

plus de 7 ans il y a | 0

A répondu
how to import .step file(CAD file) to matlab 2015a
based on the documentation it involves exporting your file to xml format then importing that to matlab using simscape plugins ...

plus de 7 ans il y a | 0

| A accepté

A répondu
how can I import web log files ino matlab? is there is anyone who has an answer pleas share. Thank you.
there are a couple of links that can help you https://www.mathworks.com/matlabcentral/fileexchange/28793-import-of-log-files...

plus de 7 ans il y a | 0

A répondu
problem with subs function
try to add syms s and syms k then run the strings or syms s k

plus de 7 ans il y a | 0

A répondu
How do I get Matlab to automatically insert images into a line of code
PLease see the links below <https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=insert%2520image%25...

plus de 7 ans il y a | 0

A soumis


Computation of non-bonded interactions - Verlet List Generation
Computation of non-bonded interactions using verlet list generation

plus de 7 ans il y a | 1 téléchargement |

Thumbnail

A répondu
Radiation pattern plotting.
Hello please check my code at <https://www.mathworks.com/matlabcentral/fileexchange/41256-computation-of-antenna-array...

plus de 7 ans il y a | 0

A répondu
How to solve 2nd order ODE inequality ?
lets assume that we have the equations: y''+a*y'+b*y<=0 a , b are f(x) where x>0 let y(x)=Y1 and dy(x)/dx = Y2 dY1/dx...

plus de 7 ans il y a | 0

Question


loop and if conditions for calculating average
I was trying to use if condition in the program below to assign all values of deltaE that are less than zero to Ev adn their...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

A répondu
Matlab 2016b Windows 10 unresponsive constantly
Try to find crash dumps in the temporary directory. You can locate these in case of a crash by following the steps given in t...

plus de 7 ans il y a | 0

A répondu
Unable to solve a differential equation with dsolve
you probably need to check the parenthesis and the equation you used with dsolve you might to organize it v=10500;a=0.215...

plus de 7 ans il y a | 0

A répondu
plot a sinusoidal signal from a file.dat
this how it will work first you will have to import the dat file to matlab using import command then assign that to a va...

plus de 7 ans il y a | 0

A répondu
How to plot vorticity in MATLAB with respect to y-direction
yes it does please check matlab functions help for curl hte links below have examples on how to use curl https://www.mat...

plus de 7 ans il y a | 0

A répondu
Return the coordinates of the random points of a graph
<https://www.mathworks.com/help/matlab/ref/importdata.html> <https://www.google.com/webhp?sourceid=chrome-instant&ion=1&e...

plus de 7 ans il y a | 0

| A accepté

A répondu
I need to be able to use a vector as an input to a function either as a variable or in form [ 1 2 ...N]
why dont u declare c as a vector and then c0 = c(1) c1=c(2) etc because the eqaution is on the form of c0*x^0 +c1*x^1 etc so...

plus de 7 ans il y a | 0

A répondu
I'm trying to reinstall a 2007 version on a new computer. When I enter the serial number off the box I get: "Error -2001: The serial number you entered is not a valid serial number. Please re-enter your serial number". Any ideas how to solve this?
Contact MATLAB through your account or email matlab support team if you click on contact us page https://www.mathworks.com/co...

plus de 7 ans il y a | 0

| A accepté

A répondu
Error reading .nc4 file: 'Unknown file format (NC_ENOTNC)'
It might be corrupted file or over written try to re copy it again that's the message one gets if the file is not there with t...

plus de 7 ans il y a | 2

A répondu
How to plot a world map using netCDF file
I think these links below could help you with the information you looking for http://www.peteryu.ca/tutorials/matlab/plot_ov...

plus de 7 ans il y a | 0

Question


Molecular Dynamics Monte Carlo Algoritm
So we have a single atom with a potential energy of E(x) = Kc*x^2 where x is the atom coordinate and kc=1 develop a monte carlo...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

Charger plus