문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

답변 있음
data types in simulink
They are not supported by default. But you can create custom type definitions using Simulink Aliases. <https://in.mathworks.c...

6년 초과 전 | 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 ...

6년 초과 전 | 0

| 수락됨

답변 있음
How to add more data points in Signal Builder?
Attached sample!

6년 초과 전 | 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...

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

답변 있음
GUIDE using CreateFcn to set TooltipString?
You can do it in OpenFcn! Is there any specific reason, why you do it in CreateFcn?

6년 초과 전 | 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 ...

6년 초과 전 | 0

답변 있음
how to design a calculator by using panel in gui?
https://in.mathworks.com/matlabcentral/fileexchange/12089-calculator

6년 초과 전 | 0

답변 있음
Font color from Excel to Matlab
objExcel=actxserver('excel.application'); objExcelW=objExcel.Workbooks; objExcelF=objExcelW.Open('ExcelFileName');...

6년 초과 전 | 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...

6년 초과 전 | 0

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

6년 초과 전 | 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...

6년 초과 전 | 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...

6년 초과 전 | 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 ...

6년 초과 전 | 0

| 수락됨

답변 있음
Faster / more precise logarithm of complimentary error function?
>> format long >> log(erfc(-5:5))

6년 초과 전 | 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...

6년 초과 전 | 1

더 보기