回答済み
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...

7年以上 前 | 0

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

7年以上 前 | 0

| 採用済み

回答済み
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 ...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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'...

7年以上 前 | 0

回答済み
• 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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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 ...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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 ...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 0

回答済み
problem with subs function
try to add syms s and syms k then run the strings or syms s k

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

送信済み


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

7年以上 前 | ダウンロード 1 件 |

Thumbnail

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

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

質問


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

7年以上 前 | 1 件の回答 | 0

1

回答

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 2

回答済み
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...

7年以上 前 | 0

質問


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

7年以上 前 | 0 件の回答 | 0

0

回答

さらに読み込む