Answered

Does anyone recommend a solid state hard drive that will enhance MatLab's speed.

yes my recommendations is OCZ is the one I m using now their website https://ocz.com/us/ssd/ usually what I do is I go to the ...

Does anyone recommend a solid state hard drive that will enhance MatLab's speed.

yes my recommendations is OCZ is the one I m using now their website https://ocz.com/us/ssd/ usually what I do is I go to the ...

1 year ago | 0

Answered

S-Function read from texfile

<https://www.google.com/search?ei=kbkuW4KCNIbzgQaNoorYAw&q=s+function+read+from++text+file&oq=s+function+read+from++text+file&gs...

S-Function read from texfile

<https://www.google.com/search?ei=kbkuW4KCNIbzgQaNoorYAw&q=s+function+read+from++text+file&oq=s+function+read+from++text+file&gs...

1 year ago | 0

Answered

How to use Fourier Transform to convert time to frequency domain for real time data ?

Please search the MATLAB documentation <https://www.mathworks.com/help/matlab/math/fourier-transforms.html>

How to use Fourier Transform to convert time to frequency domain for real time data ?

Please search the MATLAB documentation <https://www.mathworks.com/help/matlab/math/fourier-transforms.html>

1 year ago | 0

Answered

How to compare the results of different m files and display it in VB.net

Please check the link below : <https://www.mathworks.com/matlabcentral/answers/1810-opening-files-with-randomly-varying-file-na...

How to compare the results of different m files and display it in VB.net

Please check the link below : <https://www.mathworks.com/matlabcentral/answers/1810-opening-files-with-randomly-varying-file-na...

1 year ago | 0

Answered

Help with graphical input on a GUI axes

I think you may need to implement some while loop or logic to read the cursor location when is changed

Help with graphical input on a GUI axes

I think you may need to implement some while loop or logic to read the cursor location when is changed

2 years ago | 0

Answered

how to display scatter in GUI?

do you need to plot it use the scatter3 command please post your code Reference below : https://www.mathworks.com/help/ma...

how to display scatter in GUI?

do you need to plot it use the scatter3 command please post your code Reference below : https://www.mathworks.com/help/ma...

2 years ago | 0

Answered

can we interface simulink with matlab code?

you can configure Model Callback Functions to call MATLAB code at specific times in the model lifetime. You can use PostLoadFcn ...

can we interface simulink with matlab code?

you can configure Model Callback Functions to call MATLAB code at specific times in the model lifetime. You can use PostLoadFcn ...

2 years ago | 1

Answered

How to use prototxt file in matlab?

See if this article helps <https://www.mathworks.com/matlabcentral/fileexchange/61735-neural-network-toolbox-importer-for-caffe...

How to use prototxt file in matlab?

See if this article helps <https://www.mathworks.com/matlabcentral/fileexchange/61735-neural-network-toolbox-importer-for-caffe...

2 years ago | 0

Answered

Selecting lines from plot

so basically your handles variables or what ever action you assign to it would be the set function

Selecting lines from plot

so basically your handles variables or what ever action you assign to it would be the set function

2 years ago | 0

Answered

Selecting lines from plot

you just need to follow this part of the example H(2) = plot(1:10, rand(1, 10), 'b'); set(H, 'ButtonDownFcn', {@LineSel...

Selecting lines from plot

you just need to follow this part of the example H(2) = plot(1:10, rand(1, 10), 'b'); set(H, 'ButtonDownFcn', {@LineSel...

2 years ago | 0

Answered

saving multiple .mat files into .txt files

I found a similar question here dlmwrite function can be used may be you need just to pass the variable that is associated t...

saving multiple .mat files into .txt files

I found a similar question here dlmwrite function can be used may be you need just to pass the variable that is associated t...

2 years ago | 0

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

2 years ago

Answered

could anyone help me to fix the following issue

I think may be you should check the idx

could anyone help me to fix the following issue

I think may be you should check the idx

2 years ago | 0

Answered

How can I use a while loop to check input for negative numbers and non-numerical input?

inputnum=input('Enter a positive number: '); while inputnum<0 fprintf('You entered a %d. \n\n', inputnum) input...

How can I use a while loop to check input for negative numbers and non-numerical input?

inputnum=input('Enter a positive number: '); while inputnum<0 fprintf('You entered a %d. \n\n', inputnum) input...

2 years ago | 0

Submitted

Affine Cipher Encryption / Decryption using MATLAB Guide

Affine Cipher Encryption Decryption using MATLAB Guide

3 years ago | 13 downloads |

Answered

Calculate f(4) using newton's interpolating polynomials of order 1 through 4. Choose your base points to attain good accuracy.

Check this code though I m not sure function newton_interpolation(x,y,n,xx) % x and y are two Row Matrices ...

Calculate f(4) using newton's interpolating polynomials of order 1 through 4. Choose your base points to attain good accuracy.

Check this code though I m not sure function newton_interpolation(x,y,n,xx) % x and y are two Row Matrices ...

3 years ago | 0

Submitted

using single applications of Simpson’s 1/3 rule to evaluate Triple Integral

using single applications of Simpson’s 1/3 rule to evaluate Triple Integral

3 years ago | 4 downloads |

Submitted

Lagrange interpolation polynomial fitting with MATLAB

Lagrange interpolation polynomial fitting

3 years ago | 14 downloads |

Answered

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

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

3 years ago | 0

Answered

I have a mistake in my loop.

function Opdrachtc clear; clc; fontSize = 15; vv=MDealer v=length(MDealer); for kk=1:v ...

I have a mistake in my loop.

function Opdrachtc clear; clc; fontSize = 15; vv=MDealer v=length(MDealer); for kk=1:v ...

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

Create an array for θ from 0 to 2π with 1000 elements and generate a graph showing sin(nθ) for n=1, 2, … 5, all on a polar plot using an M-file. Include a legend and for each graph use a different line specification (colour).

th = linspace(0,2*pi,1000) ; n = 1:5 ; y = zeros(length(n),1000) ; for i = 1:length(n) y(i,:) = sin(n(i)*th)...

Create an array for θ from 0 to 2π with 1000 elements and generate a graph showing sin(nθ) for n=1, 2, … 5, all on a polar plot using an M-file. Include a legend and for each graph use a different line specification (colour).

th = linspace(0,2*pi,1000) ; n = 1:5 ; y = zeros(length(n),1000) ; for i = 1:length(n) y(i,:) = sin(n(i)*th)...

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0