Beantwortet
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...

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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'...

fast 8 Jahre vor | 0

Beantwortet
• 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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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 ...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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 ...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
problem with subs function
try to add syms s and syms k then run the strings or syms s k

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Gesendet


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

fast 8 Jahre vor | 1 Download |

Thumbnail

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

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Frage


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...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 0

Beantwortet
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...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 8 Jahre vor | 2

Beantwortet
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...

fast 8 Jahre vor | 0

Frage


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...

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

Mehr laden