已解决


Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

7 years 前

已解决


How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

7 years 前

已回答
data types in simulink
They are not supported by default. But you can create custom type definitions using Simulink Aliases. <https://in.mathworks.c...

7 years 前 | 1

| 已接受

已回答
How to create a simulink parameter that bind to simulink model?
You can do it via PreLoadFcn of the model (Go to File->Model Properties->Model Properties) Please also note, in the CloseFcn ...

7 years 前 | 0

| 已接受

已回答
How to add more data points in Signal Builder?
Attached sample!

7 years 前 | 0

已解决


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

7 years 前

已解决


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

7 years 前

已解决


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

7 years 前

已解决


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

7 years 前

已解决


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

7 years 前

已解决


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

7 years 前

已解决


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

7 years 前

已解决


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

7 years 前

已解决


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

7 years 前

已解决


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

7 years 前

已解决


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

7 years 前

已解决


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

7 years 前

已解决


Space Saver
Remove all characters that are below a space in ASCII value.

7 years 前

已解决


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

7 years 前

已回答
GUIDE using CreateFcn to set TooltipString?
You can do it in OpenFcn! Is there any specific reason, why you do it in CreateFcn?

7 years 前 | 0

| 已接受

已回答
Finding a character and returning that character
Your variable vowels is a cell array. You cant switch based on a cell array. Instead take each word, and run a for loop on each ...

7 years 前 | 0

已回答
how to design a calculator by using panel in gui?
https://in.mathworks.com/matlabcentral/fileexchange/12089-calculator

7 years 前 | 0

已回答
Font color from Excel to Matlab
objExcel=actxserver('excel.application'); objExcelW=objExcel.Workbooks; objExcelF=objExcelW.Open('ExcelFileName');...

7 years 前 | 0

| 已接受

已回答
Font color from Excel to Matlab
It is not straighforward. You will have to use ActiveX https://in.mathworks.com/help/matlab/matlab_external/using-a-matlab-app...

7 years 前 | 0

已回答
How can I compute the leap years?
function [leapyears] = leapyears(startyear,endyear) leapyears = []; for iYr=startyear:endyear if mod(iYr,4)==0 &...

7 years 前 | 0

已回答
Only display desired files using uigetfile
Just use A*.mat for FILTERSPEC [MATfiles,path2] = uigetfile('A*.mat','Select MAT files' ... , 'C:\Users\Sean\Desktop...

7 years 前 | 1

| 已接受

已回答
Is possible to change Sample time in signal builder programmatically?
First: Signal Builder is actually a masked from workspace block. So you can find the underlying from workspace block using find...

7 years 前 | 0

已回答
Generated code from Simulink model to use in Polyspace Bug Finder
Polyspace (Bug Finder or Code Prover) will pick the .c and .h files automatically and create the necessary project files. Just ...

7 years 前 | 0

| 已接受

已回答
Faster / more precise logarithm of complimentary error function?
>> format long >> log(erfc(-5:5))

7 years 前 | 0

已回答
how to connect signal builder outputs to the inputs through mscript.
%gcs is the current subsystem % let 'signalbuilder' is the name of the signal builder block %let 'and' be the name of th...

7 years 前 | 1

加载更多