Sudan University of Science and Technology EE

Johns Hopkins University ECE

University of South Carolina CS

Submitted

Quadratic Equation roots solver

The script is used to solve the roots for quadratic equations.

5 months ago | 2 downloads |

Answered

How to store the value of y in the loop being executed?

i think yo have so many end after the if statement I modified the number of bits per just to speed it up clc % BPSK M = 2...

How to store the value of y in the loop being executed?

i think yo have so many end after the if statement I modified the number of bits per just to speed it up clc % BPSK M = 2...

5 months ago | 1

Answered

How can I access MS SQL Server from MATLAB web application

you could attempt to remove that line making sure data source is specified if I m reading the matlab documentation correctly or ...

How can I access MS SQL Server from MATLAB web application

you could attempt to remove that line making sure data source is specified if I m reading the matlab documentation correctly or ...

5 months ago | 0

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

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

2 years 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>

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

2 years 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

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

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

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

3 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

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

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

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

3 years ago

Solved

Determine if input is odd

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

3 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

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

3 years ago | 0

Submitted

Affine Cipher Encryption / Decryption using MATLAB Guide

Affine Cipher Encryption Decryption using MATLAB Guide

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

4 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

4 years ago | 4 downloads |

Submitted

Lagrange interpolation polynomial fitting with MATLAB

Lagrange interpolation polynomial fitting

4 years ago | 9 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...

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

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

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

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

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

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

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

4 years ago | 0